Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk

Pull printk fixlet from Petr Mladek:
"People expect to see the real pointer value for %px.

Let's substitute '(null)' only for the other %p? format modifiers that
need to deference the pointer"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
vsprintf: avoid misleading "(null)" for %px

+1 -1
+1 -1
lib/vsprintf.c
··· 1849 1849 { 1850 1850 const int default_width = 2 * sizeof(void *); 1851 1851 1852 - if (!ptr && *fmt != 'K') { 1852 + if (!ptr && *fmt != 'K' && *fmt != 'x') { 1853 1853 /* 1854 1854 * Print (null) with the same width as a pointer so it makes 1855 1855 * tabular output look nice.