From: jinhyung.jo Date: Wed, 15 Jul 2015 02:48:31 +0000 (+0900) Subject: VIGS: Removed a compilation warnning X-Git-Tag: submit/tizen/20160422.055611~1^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5420c3a273987ef7effb7018503f845c22c037c2;p=sdk%2Femulator%2Femulator-kernel.git VIGS: Removed a compilation warnning Changed the format specifier from '%u' to '%pa' for the type 'resource_size_t'. Here is an excerpt from the document below, 'https://www.kernel.org/doc/Documentation/printk-formats.txt', " Physical addresses types phys_addr_t: %pa[p] 0x01234567 or 0x0123456789abcdef For printing a phys_addr_t type (and its derivatives, such as resource_size_t) which can vary based on build options, regardless of the width of the CPU data path. Passed by reference. ". Change-Id: Ia0d72411de707cb7f3aaba7d91e86f79f5c2b607 Signed-off-by: Jinhyung Jo --- diff --git a/drivers/gpu/drm/vigs/vigs_device.c b/drivers/gpu/drm/vigs/vigs_device.c index e944f4c7220c..1e976737670e 100644 --- a/drivers/gpu/drm/vigs/vigs_device.c +++ b/drivers/gpu/drm/vigs/vigs_device.c @@ -132,7 +132,7 @@ int vigs_device_init(struct vigs_device *vigs_dev, if ((vigs_dev->io_size < sizeof(void*)) || ((vigs_dev->io_size % sizeof(void*)) != 0)) { - DRM_ERROR("IO bar has bad size: %u bytes\n", vigs_dev->io_size); + DRM_ERROR("IO bar has bad size: %pa bytes\n", &vigs_dev->io_size); ret = -ENODEV; goto fail1; }