]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - lib/Kconfig.debug
Add CONFIG_DEBUG_SG sg validation
[mirror_ubuntu-hirsute-kernel.git] / lib / Kconfig.debug
index c567f219191d590116bcdd4498349d72e62ce612..1faa5087dc86d65685f97a0714bf70e7f586fd35 100644 (file)
@@ -389,6 +389,16 @@ config DEBUG_LIST
 
          If unsure, say N.
 
+config DEBUG_SG
+       bool "Debug SG table operations"
+       depends on DEBUG_KERNEL
+       help
+         Enable this to turn on checks on scatter-gather tables. This can
+         help find problems with drivers that do not properly initialize
+         their sg tables.
+
+         If unsure, say N.
+
 config FRAME_POINTER
        bool "Compile the kernel with frame pointers"
        depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH || BFIN)