From e4f0baa268688a6f995039a98847bcaac17305fe Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Wed, 6 Sep 2023 19:23:30 -0700 Subject: Disable warning for kernel 6.5 update. 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 --- Android.bp | 1 + 1 file changed, 1 insertion(+) 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", -- cgit v1.2.3