diff options
author | Borislav Petkov <bp@suse.de> | 2021-06-25 17:10:16 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-08-23 05:58:02 +0200 |
commit | 03dca99e200f4d268f70079cf54e3b1200c9eb9d (patch) | |
tree | 5702e29034d1b485fbf3817cbdf066225a339c21 /arch/x86/Makefile | |
parent | 989ceac799cb28a477304cdc9ee72995191c6378 (diff) | |
download | lwn-03dca99e200f4d268f70079cf54e3b1200c9eb9d.tar.gz lwn-03dca99e200f4d268f70079cf54e3b1200c9eb9d.zip |
x86/tools/relocs: Mark die() with the printf function attr format
Mark die() as a function which accepts printf-style arguments so that
the compiler can typecheck them against the supplied format string.
Use the C99 inttypes.h format specifiers as relocs.c gets built for both
32- and 64-bit.
Original version of the patch by Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: http://lkml.kernel.org/r/YNnb6Q4QHtNYC049@zn.tnic
Diffstat (limited to 'arch/x86/Makefile')
0 files changed, 0 insertions, 0 deletions