diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-04-22 05:02:19 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-04-23 08:39:31 +0200 |
commit | ebd004e4edd5628617c0faed11162b8a095ad852 (patch) | |
tree | eec4ba5a86ce5e14b94be8653e47ddd2703a1cff /drivers/macintosh/smu.c | |
parent | ptrace/powerpc: Don't flush_ptrace_hw_breakpoint() on fork() (diff) | |
download | linux-ebd004e4edd5628617c0faed11162b8a095ad852.tar.xz linux-ebd004e4edd5628617c0faed11162b8a095ad852.zip |
powerpc/pmac/smu: Use %*ph to print small buffers
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 9c6b96414862..b3b2d36c009e 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c @@ -120,11 +120,7 @@ static void smu_start_cmd(void) DPRINTK("SMU: starting cmd %x, %d bytes data\n", cmd->cmd, cmd->data_len); - DPRINTK("SMU: data buffer: %02x %02x %02x %02x %02x %02x %02x %02x\n", - ((u8 *)cmd->data_buf)[0], ((u8 *)cmd->data_buf)[1], - ((u8 *)cmd->data_buf)[2], ((u8 *)cmd->data_buf)[3], - ((u8 *)cmd->data_buf)[4], ((u8 *)cmd->data_buf)[5], - ((u8 *)cmd->data_buf)[6], ((u8 *)cmd->data_buf)[7]); + DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); /* Fill the SMU command buffer */ smu->cmd_buf->cmd = cmd->cmd; |