diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-08-02 14:09:24 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-07 10:10:58 +1000 |
commit | 08fcd72b14e440feb748ddc33e7057716116a74a (patch) | |
tree | 76cf42e71273dff90b266dc2c61a25dea44f73a9 /drivers/gpu/drm/udl/udl_main.c | |
parent | baa7094355a10b432bbccacb925da4bdac861c8d (diff) | |
download | talos-obmc-linux-08fcd72b14e440feb748ddc33e7057716116a74a.tar.gz talos-obmc-linux-08fcd72b14e440feb748ddc33e7057716116a74a.zip |
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/udl/udl_main.c')
-rw-r--r-- | drivers/gpu/drm/udl/udl_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c index 0ce2d7195256..f5ae57406f34 100644 --- a/drivers/gpu/drm/udl/udl_main.c +++ b/drivers/gpu/drm/udl/udl_main.c @@ -41,8 +41,8 @@ static int udl_parse_vendor_descriptor(struct drm_device *dev, total_len = usb_get_descriptor(usbdev, 0x5f, /* vendor specific */ 0, desc, MAX_VENDOR_DESCRIPTOR_SIZE); if (total_len > 5) { - DRM_INFO("vendor descriptor length:%x data:%*ph\n", - total_len, 11, desc); + DRM_INFO("vendor descriptor length:%x data:%11ph\n", + total_len, desc); if ((desc[0] != total_len) || /* descriptor length */ (desc[1] != 0x5f) || /* vendor descriptor type */ |