diff options
author | Raul E Rangel <rrangel@chromium.org> | 2019-08-27 19:36:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-28 22:33:44 +0200 |
commit | b9bc7b8b1e9e815b231c1ca0b566ee723f480987 (patch) | |
tree | 427091a02289926a9e906e4e4bbb12d74f90745a /arch/sh | |
parent | mei: me: add Tiger Lake point LP device ID (diff) | |
download | linux-b9bc7b8b1e9e815b231c1ca0b566ee723f480987.tar.xz linux-b9bc7b8b1e9e815b231c1ca0b566ee723f480987.zip |
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 <stable@vger.kernel.org>
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20190827173619.170065-1-rrangel@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions