]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: use raw buffer printk specifier
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Thu, 21 Dec 2017 10:04:53 +0000 (12:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:04 +0000 (14:17 -0500)
commitfbfb7264ae8e09a25ee1e5bd23532e9cedec0dc9
tree5ff1a58cf731a4a6644228c508bb62f11e1c4a30
parent7c7a3cbbfefafca135de364d87114738432c3e30
drm/radeon: use raw buffer printk specifier

printk format strings accepting a single subsequent argument
are shorter thus easier to read.

Instead of having format strings accepting 3 different arguments
pointing to first 3 bytes of the same buffer rewrite the format
string to accept only one argument - the buffer - with "%3ph"
specifier.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_dp_mst.c