https://github.com/torvalds/linux
Revision b5d598b41aebee67bf95802b68b888e98a449687 authored by Alexander Beregalov on 28 May 2009, 21:34:33 UTC, committed by Linus Torvalds on 29 May 2009, 15:40:02 UTC
drivers/parport/parport_gsc.c:356: warning: format '%lx' expects type
'long unsigned int', but argument 2 has type 'resource_size_t'

[akpm@linux-foundation.org: fix it to handle u64's]
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c3dc5be
Raw File
Tip revision: b5d598b41aebee67bf95802b68b888e98a449687 authored by Alexander Beregalov on 28 May 2009, 21:34:33 UTC
parport_gsc: fix printk format error
Tip revision: b5d598b
Kconfig.debug
config DEBUG_PAGEALLOC
	bool "Debug page memory allocations"
	depends on DEBUG_KERNEL && ARCH_SUPPORTS_DEBUG_PAGEALLOC
	depends on !HIBERNATION || !PPC && !SPARC
	---help---
	  Unmap pages from the kernel linear mapping after free_pages().
	  This results in a large slowdown, but helps to find certain types
	  of memory corruptions.

config WANT_PAGE_DEBUG_FLAGS
	bool

config PAGE_POISONING
	bool "Debug page memory allocations"
	depends on DEBUG_KERNEL && !ARCH_SUPPORTS_DEBUG_PAGEALLOC
	depends on !HIBERNATION
	select DEBUG_PAGEALLOC
	select WANT_PAGE_DEBUG_FLAGS
	help
	   Fill the pages with poison patterns after free_pages() and verify
	   the patterns before alloc_pages(). This results in a large slowdown,
	   but helps to find certain types of memory corruptions.

	   This option cannot enalbe with hibernation. Otherwise, it will get
	   wrong messages for memory corruption because the free pages are not
	   saved to the suspend image.
back to top