drm: use %*ph to dump small buffers

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
这个提交包含在:
Andy Shevchenko
2012-09-05 12:04:19 +00:00
提交者 Dave Airlie
父节点 14f77fdd58
当前提交 9a6a4b4757
修改 3 个文件,包含 4 行新增11 行删除

查看文件

@@ -289,9 +289,7 @@ dp_link_train_update(struct drm_device *dev, struct dp_state *dp, u32 delay)
if (ret)
return ret;
NV_DEBUG_KMS(dev, "status %02x %02x %02x %02x %02x %02x\n",
dp->stat[0], dp->stat[1], dp->stat[2], dp->stat[3],
dp->stat[4], dp->stat[5]);
NV_DEBUG_KMS(dev, "status %*ph\n", 6, dp->stat);
return 0;
}