diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-10-13 22:49:17 +0200 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-20 17:28:05 +0900 |
| commit | 212e79d58aafdfcfd280806ef38e86dcdc7e2b47 (patch) | |
| tree | 49c645a333fa19b3433e686f26681938bd49826c /scripts/Makefile.thinlto | |
| parent | 950f860839f31b7617190cf0bdd277abf3e43125 (diff) | |
| download | linux-next-212e79d58aafdfcfd280806ef38e86dcdc7e2b47.tar.gz linux-next-212e79d58aafdfcfd280806ef38e86dcdc7e2b47.zip | |
ntfs: avoid unnecessary padding in uapi structure
Building the uapi headers with -Wpadded shows a warning that
may indicate an incompatibility:
./usr/include/linux/ntfs.h:91:1: error: padding struct size to alignment boundary with 4 bytes [-Werror=padded]
This is relatively harmless here as the 64-bit members force natural
alignment, so this is not a problem for compat ioctls, and I checked
that the padding word is still initialized by means of using kvzalloc()
to allocate it, but it's better to avoid the padding out of
principle.
Change the reserved member to use a 64-bit type so the name field
starts after the structure and all padding is explicit.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Baolin Liu <liubaolin@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
