summaryrefslogtreecommitdiffstats
path: root/kernel/crash_core.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2022-05-12 20:38:36 -0700
committerAndrew Morton <akpm@linux-foundation.org>2022-05-12 20:38:36 -0700
commitc9b516f16be5896a3d798f8efb03acbd2ceec715 (patch)
tree49a318fdfc8471ab9957fc2b0be8122ac16eba57 /kernel/crash_core.c
parentd60c4d01a98bc1942dba6e3adc02031f5519f94b (diff)
downloadlinux-stable-c9b516f16be5896a3d798f8efb03acbd2ceec715.tar.gz
linux-stable-c9b516f16be5896a3d798f8efb03acbd2ceec715.tar.bz2
linux-stable-c9b516f16be5896a3d798f8efb03acbd2ceec715.zip
ELF, uapi: fixup ELF_ST_TYPE definition
This is very theoretical compile failure: ELF_ST_TYPE(st_info = A) Cast will bind first and st_info will stop being lvalue: error: lvalue required as left operand of assignment Given that the only use of this macro is ELF_ST_TYPE(sym->st_info) where st_info is "unsigned char" I've decided to remove cast especially given that companion macro ELF_ST_BIND doesn't use cast. Link: https://lkml.kernel.org/r/Ymv7G1BeX4kt3obz@localhost.localdomain Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/crash_core.c')
0 files changed, 0 insertions, 0 deletions