From: Joe Perches Date: Wed, 12 Dec 2012 18:18:50 +0000 (-0800) Subject: vsprintf: Add extension %pSR - print_symbol replacement X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~94^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d33c2bd77bcf2d7c9427d2361ac57fe5b33aa1;p=pandora-kernel.git vsprintf: Add extension %pSR - print_symbol replacement print_symbol takes a long and converts it to a function name and offset. %pS does something similar, but doesn't translate the address via __builtin_extract_return_addr. %pSR does the translation. This will enable replacing multiple calls like printk(...); printk_symbol(addr); printk("\n"); with a single non-interleavable in dmesg printk("... %pSR\n", (void *)addr); Update documentation too. Signed-off-by: Joe Perches Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed