Messages in this thread | | | Date | Thu, 28 Jan 2021 19:46:31 +1100 | From | Stephen Rothwell <> | Subject | linux-next: build warning after merge of the akpm tree |
| |
Hi all,
After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
lib/stackdepot.c: In function 'is_stack_depot_disabled': lib/stackdepot.c:154:2: warning: ignoring return value of 'kstrtobool' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | kstrtobool(str, &stack_depot_disable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Introduced by commit
b9779abb09a8 ("lib: stackdepot: add support to disable stack depot")
Interestingly, we have 2 declarations of kstrtobool - one in linux/kernel.h (which has __must_check) and one in linux/strings.h (which doesn't).
-- Cheers, Stephen Rothwell [unhandled content-type:application/pgp-signature] | |