aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2021-03-03 06:43:57 +0000
committerBorislav Petkov <[email protected]>2021-03-06 10:34:07 +0000
commit70c9d959226b7c5c48c119e2c1cfc1424f87b023 (patch)
treec6b793c30cefdd0fb088ebf43a07e9c845666c61 /lib/dynamic_debug.c
parentLinux 5.12-rc2 (diff)
downloadkernel-70c9d959226b7c5c48c119e2c1cfc1424f87b023.tar.gz
kernel-70c9d959226b7c5c48c119e2c1cfc1424f87b023.zip
x86/vdso: Use proper modifier for len's format specifier in extract()
Commit 8382c668ce4f ("x86/vdso: Add support for exception fixup in vDSO functions") prints length "len" which is size_t. Compilers now complain when building on a 32-bit host: HOSTCC arch/x86/entry/vdso/vdso2c ... In file included from arch/x86/entry/vdso/vdso2c.c:162: arch/x86/entry/vdso/vdso2c.h: In function 'extract64': arch/x86/entry/vdso/vdso2c.h:38:52: warning: format '%lu' expects argument of \ type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} So use proper modifier (%zu) for size_t. [ bp: Massage commit message. ] Fixes: 8382c668ce4f ("x86/vdso: Add support for exception fixup in vDSO functions") Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Jarkko Sakkinen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions