https://github.com/torvalds/linux
Revision 64427985c76fcb54c783de617edf353009499a03 authored by Vijayanand Jitta on 26 February 2021, 01:21:31 UTC, committed by Linus Torvalds on 26 February 2021, 17:41:04 UTC
Fix the below ignoring return value warning for kstrtobool in
is_stack_depot_disabled function.

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]

Link: https://lkml.kernel.org/r/1612163048-28026-1-git-send-email-vjitta@codeaurora.org
Fixes: b9779abb09a8 ("lib: stackdepot: add support to disable stack depot")
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e1fdc40
Raw File
Tip revision: 64427985c76fcb54c783de617edf353009499a03 authored by Vijayanand Jitta on 26 February 2021, 01:21:31 UTC
lib: stackdepot: fix ignoring return value warning
Tip revision: 6442798
.gitattributes
*.c   diff=cpp
*.h   diff=cpp
*.dtsi diff=dts
*.dts  diff=dts
back to top