aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atombios_dp.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-08-02 07:09:24 -0400
committerDave Airlie <airlied@redhat.com>2013-08-06 20:10:58 -0400
commit08fcd72b14e440feb748ddc33e7057716116a74a (patch)
tree76cf42e71273dff90b266dc2c61a25dea44f73a9 /drivers/gpu/drm/radeon/atombios_dp.c
parentbaa7094355a10b432bbccacb925da4bdac861c8d (diff)
drm: don't push static constants on stack for %*ph
There is no need to pass constants via stack. The width may be explicitly specified in the format. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_dp.c')
-rw-r--r--drivers/gpu/drm/radeon/atombios_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c
index 064023bed480..c239739736db 100644
--- a/drivers/gpu/drm/radeon/atombios_dp.c
+++ b/drivers/gpu/drm/radeon/atombios_dp.c
@@ -550,7 +550,7 @@ static bool radeon_dp_get_link_status(struct radeon_connector *radeon_connector,
550 return false; 550 return false;
551 } 551 }
552 552
553 DRM_DEBUG_KMS("link status %*ph\n", 6, link_status); 553 DRM_DEBUG_KMS("link status %6ph\n", link_status);
554 return true; 554 return true;
555} 555}
556 556