summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-10-13 22:49:17 +0200
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 18:46:01 +0900
commit1a57e55f8cbbad376a22787b666aa9953dd6fb8c (patch)
tree8ebe040e4a29d0d63a318aa5e697632df580b6fd /scripts/Makefile.thinlto
parent569f514f0ec74c4162241e10b7893bff109f8aca (diff)
downloadlinux-1a57e55f8cbbad376a22787b666aa9953dd6fb8c.tar.gz
linux-1a57e55f8cbbad376a22787b666aa9953dd6fb8c.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