linux_dsm_epyc7002/block/partitions
Arnd Bergmann 5f69841c22 partitions: msdos: fix one-byte get_unaligned()
[ Upstream commit 1b1774998b2dec837a57d729d1a22e5eb2d6d206 ]

A simplification of get_unaligned() clashes with callers that pass
in a character pointer, causing a harmless warning like:

block/partitions/msdos.c: In function 'msdos_partition':
include/asm-generic/unaligned.h:13:22: warning: 'packed' attribute ignored for field of type 'u8' {aka 'unsigned char'} [-Wattributes]

Remove the SYS_IND() macro with the get_unaligned() call
and just use the ->ind field directly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:39 +02:00
..
acorn.c
aix.c
amiga.c
atari.c
atari.h
check.h
cmdline.c
core.c block-5.10-2020-10-12 2020-10-13 12:12:44 -07:00
efi.c
efi.h
ibm.c
karma.c
Kconfig
ldm.c partitions: msdos: fix one-byte get_unaligned() 2021-07-20 16:05:39 +02:00
ldm.h partitions: msdos: fix one-byte get_unaligned() 2021-07-20 16:05:39 +02:00
mac.c
mac.h
Makefile
msdos.c partitions: msdos: fix one-byte get_unaligned() 2021-07-20 16:05:39 +02:00
osf.c
sgi.c
sun.c
sysv68.c
ultrix.c