Merge tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[sfrench/cifs-2.6.git] / lib / Kconfig.debug
index 6c1be6181e38081a267c05f44abb1634da80ec1d..ecde997db7519dc870f5119206921e935bdf65a5 100644 (file)
@@ -164,6 +164,15 @@ config DYNAMIC_DEBUG
          See Documentation/admin-guide/dynamic-debug-howto.rst for additional
          information.
 
+config SYMBOLIC_ERRNAME
+       bool "Support symbolic error names in printf"
+       default y if PRINTK
+       help
+         If you say Y here, the kernel's printf implementation will
+         be able to print symbolic error names such as ENOSPC instead
+         of the number 28. It makes the kernel image slightly larger
+         (about 3KB), but can make the kernel logs easier to read.
+
 endmenu # "printk and dmesg options"
 
 menu "Compile-time checks and compiler options"