From: Gavin Shan Date: Wed, 17 Oct 2012 19:53:30 +0000 (+0000) Subject: powerpc/pnv: Avoid bogus output X-Git-Tag: v3.8-rc1~68^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490e078d6a21aa90d54f36cdcc544e87070175bd;p=pandora-kernel.git powerpc/pnv: Avoid bogus output There're couples of functions defined to print debugging messages during initializing P7IOC. However, we got bogus output from those functions like pe_info(). The problem here is that the message level (the first parameter to printk()) isn't printable and that caused the bogus output. The patch fixes the issue by merging __pe_printk() to the macro define_pe_printk_level() so that we can pass the message level directly to printk(). Reported-by: Benjamin Herrenschmidt Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed