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
History
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
File Mode Size
include
.gitignore -rw-r--r-- 94 bytes
Kconfig -rw-r--r-- 7.7 KB
Makefile -rw-r--r-- 2.9 KB
default_cpio_list -rw-r--r-- 153 bytes
gen_init_cpio.c -rw-r--r-- 12.8 KB
gen_initramfs.sh -rwxr-xr-x 5.7 KB
initramfs_data.S -rw-r--r-- 1.2 KB

back to top