summaryrefslogtreecommitdiff
path: root/arch/ia64/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-05-08 15:58:46 +0300
committerArnd Bergmann <arnd@arndb.de>2021-05-17 14:30:29 +0300
commitd40d8179482c330df5b9049797fe94c2e8eb4f6e (patch)
tree7fd08bd16e79ad48d570327454d6ee36c8be40c8 /arch/ia64/include
parente3e22076710632250cfaee853499f3de6e9be35d (diff)
downloadlinux-d40d8179482c330df5b9049797fe94c2e8eb4f6e.tar.xz
asm-generic: uaccess: 1-byte access is always aligned
With the cleaned up version of asm-generic/unaligned.h, there is a warning about the get_user/put_user helpers using unaligned access for single-byte variables: include/asm-generic/uaccess.h: In function ‘__get_user_fn’: include/asm-generic/unaligned.h:13:15: warning: ‘packed’ attribute ignored for field of type ‘u8’ {aka ‘unsigned char’} [-Wattributes] const struct { type x __packed; } *__pptr = (typeof(__pptr))(ptr); \ Change these to use a direct pointer dereference to avoid the warnings. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/ia64/include')
0 files changed, 0 insertions, 0 deletions