From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Date: Wed, 10 Nov 2010 15:01:23 -0800 Subject: [Cluster-devel] [PATCH 0/9] treewide: convert vprintk uses to %pV In-Reply-To: References: Message-ID: <1289430083.15905.106.camel@Joe-Laptop> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 Acked-by: Greg Kroah-Hartman Signed-off-by: David S. Miller