[PATCH 0/9] treewide: convert vprintk uses to %pV

Joe Perches joe at perches.com
Wed Nov 10 15:01:23 PST 2010

On Wed, 2010-11-10 at 14:48 -0800, Luis R. Rodriguez wrote:
> When was this added upstream BTW? I ask for backport considerations.

commit 7db6f5fb65a82af03229eef104dc9899c5eecf33
Author: Joe Perches <joe at perches.com>
Date:   Sun Jun 27 01:02:33 2010 +0000

    vsprintf: Recursive vsnprintf: Add "%pV", struct va_format
    Add the ability to print a format and va_list from a structure pointer
    Allows __dev_printk to be implemented as a single printk while
    minimizing string space duplication.
    %pV should not be used without some mechanism to verify the
    format and argument use ala __attribute__(format (printf(...))).
    Signed-off-by: Joe Perches <joe at perches.com>
    Acked-by: Greg Kroah-Hartman <gregkh at suse.de>
    Signed-off-by: David S. Miller <davem at davemloft.net>

More information about the dri-devel mailing list