diff options
author | Shayenne da Luz Moura <shayenneluzmoura@gmail.com> | 2018-10-26 16:23:49 -0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-30 07:20:00 +0100 |
commit | 1b000494978d2f3603e9eed4ba90c222587122ad (patch) | |
tree | bab9602469fb70590cabfaaf06d5324ee7400cf1 /drivers/gpu/drm/qxl/qxl_image.c | |
parent | d964985c0d5de15ce78bb614c2b2ba61becb56b9 (diff) | |
download | linux-next-1b000494978d2f3603e9eed4ba90c222587122ad.tar.gz |
drm/qxl: Use 'unsigned int' instead of 'usigned'
Use 'usigned int' instead of 'usigned' to remove the checkpath.pl warning:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Shayenne da Luz Moura <shayenneluzmoura@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/52604806eb18bc25e7e429f5b229fe8c1d271b5c.1540579956.git.shayenneluzmoura@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_image.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_image.c b/drivers/gpu/drm/qxl/qxl_image.c index 13b9a18ccde5..43688ecdd8a0 100644 --- a/drivers/gpu/drm/qxl/qxl_image.c +++ b/drivers/gpu/drm/qxl/qxl_image.c @@ -163,7 +163,7 @@ qxl_image_init_helper(struct qxl_device *qdev, page++; } } else { - unsigned page_base, page_offset, out_offset; + unsigned int page_base, page_offset, out_offset; for (i = 0 ; i < height ; ++i) { i_data = (void *)data + i * stride; |