diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2025-11-10 20:48:55 +0900 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-08 21:24:42 -0600 |
| commit | b4ae8266a744927cd06f21326e169d2289e30434 (patch) | |
| tree | 814371a5884c1dac956aa130d36a42db79f7c909 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | fbcdc61e7846ca0a000f88910ea53a7bbaa12a73 (diff) | |
smb: client: Avoid a dozen -Wflex-array-member-not-at-end warnings
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Move the conflicting declaration to the end of the corresponding
structure. Notice that struct smb2_file_all_info is a flexible
structure, this is a structure that contains a flexible-array
member.
Fix the following warnings:
12 fs/smb/client/cached_dir.h:51:35: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
