From: Steven Rostedt Date: Mon, 9 Jan 2012 20:58:09 +0000 (-0500) Subject: tools lib traceevent: Fix %pM print format arg handling X-Git-Tag: v3.6-rc1~167^2~7^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaf05c725bed1c7a8c940d9215662c78bea05dfd;p=pandora-kernel.git tools lib traceevent: Fix %pM print format arg handling When %pM is used, the arg value must be a 6 byte character that will be printed as a 6 byte MAC address. But the code does a break over the main code which updates the current processing arg to point to the next arg. If there are other print arguments after a %pM, they will be off by one. The next arg will still be processing the %pM arg. Reported-by: Johannes Berg Signed-off-by: Steven Rostedt Link: http://lkml.kernel.org/n/tip-q3g0n1espikynsdkpbi6ue6t@git.kernel.org Signed-off-by: Namhyung Kim --- Reading git-diff-tree failed