aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2023-09-06 19:23:30 -0700
committerAndroid Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-11-15 17:29:08 +0000
commite4f0baa268688a6f995039a98847bcaac17305fe (patch)
tree2cb10b8920c9a79681482bdf2f0a9ddfdfbc4e0f
parente4f29d39d4d4becafe7d2e6d55fb070ef1f6cb93 (diff)
downloadlinux-kselftest-e4f0baa268688a6f995039a98847bcaac17305fe.tar.gz
Disable warning for kernel 6.5 update.android14-tests-dev
The struct sockaddr_ll was modified so that a [] variable is now in the struct. Since this is not fatal, simply disable the warning. Test: Builds and ran vts-tradefed run vts-kernel -m vts_linux_kselftest_arm_64 (cherry picked from https://android-review.googlesource.com/q/commit:cb8c3ac02a3807b60963b166aaa20f5bbd6c7f31) Merged-In: I5b0a04f29625387acd89e36489c069f773c5f63e Change-Id: I5b0a04f29625387acd89e36489c069f773c5f63e
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5398c3976467..fc3f07680e82 100644
--- a/Android.bp
+++ b/Android.bp
@@ -441,6 +441,7 @@ cc_test {
cc_test {
name: "kselftest_net_tests",
relative_install_path: "linux-kselftest/net",
+ cflags: ["-Wno-gnu-variable-sized-type-not-at-end"],
srcs: [
"tools/testing/selftests/net/socket.c",
"tools/testing/selftests/net/psock_fanout.c",