Re: [PATCH] lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK

2019-08-28 Thread Kees Cook
On Tue, Aug 27, 2019 at 10:44:13AM -0600, Raul E Rangel wrote: > Building an x86 64 bit kernel: > > 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

[PATCH] lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK

2019-08-27 Thread Raul E Rangel
Building an x86 64 bit kernel: 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", ^ Fixes: 24cccab42c419 ("lkdtm/bugs: Adjust recursion test to