aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorRaul E Rangel <[email protected]>2019-08-27 11:36:19 -0600
committerGreg Kroah-Hartman <[email protected]>2019-08-28 22:33:44 +0200
commitb9bc7b8b1e9e815b231c1ca0b566ee723f480987 (patch)
tree427091a02289926a9e906e4e4bbb12d74f90745a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent587f17407741a5be07f8a2d1809ec946c8120962 (diff)
lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK
lkdtm/bugs.c:94:2: error: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Werror=format=] pr_info("Calling function with %d frame size to depth %d ...\n", ^ THREAD_SIZE is defined as a unsigned long, cast CONFIG_FRAME_WARN to unsigned long as well. Fixes: 24cccab42c419 ("lkdtm/bugs: Adjust recursion test to avoid elision") Cc: stable <[email protected]> Signed-off-by: Raul E Rangel <[email protected]> Acked-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions