diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-08-11 21:53:05 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-12 18:01:53 -0700 |
| commit | 942224e6baca0d1bdd1801e935f3544f2df37baf (patch) | |
| tree | c2d0db41409cf0a6c0b31ec37be61268aff51564 /rust/helpers/platform.c | |
| parent | b1987f1e05b7dd2e08b51967cc187dbe8092cbd9 (diff) | |
selftest: af_unix: Silence -Wflex-array-member-not-at-end warning for scm_inq.c.
scm_inq.c has no problem in functionality, but when compiled with
-Wflex-array-member-not-at-end, it shows this warning:
scm_inq.c:15:24: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
15 | struct cmsghdr cmsghdr;
| ^~~~~~~
Let's silence it.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250811215432.3379570-3-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
