diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 3f21cc79a134..2869307ca3e4 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -8,6 +8,13 @@ config PRINTK_TIME | |||
8 | operations. This is useful for identifying long delays | 8 | operations. This is useful for identifying long delays |
9 | in kernel startup. | 9 | in kernel startup. |
10 | 10 | ||
11 | config ENABLE_MUST_CHECK | ||
12 | bool "Enable __must_check logic" | ||
13 | default y | ||
14 | help | ||
15 | Enable the __must_check logic in the kernel build. Disable this to | ||
16 | suppress the "warning: ignoring return value of 'foo', declared with | ||
17 | attribute warn_unused_result" messages. | ||
11 | 18 | ||
12 | config MAGIC_SYSRQ | 19 | config MAGIC_SYSRQ |
13 | bool "Magic SysRq key" | 20 | bool "Magic SysRq key" |