gpu: drm: Replace bare "unsigned" with "unsigned int"
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Mon, 12 Apr 2021 10:53:09 +0000 (12:53 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 12 Apr 2021 15:57:14 +0000 (17:57 +0200)
Replaced the type "unsigned" with "unsigned int" because it is
preferred. Issue detected by checkpatch.pl.

Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210412105309.27156-1-fmdefrancesco@gmail.com
drivers/gpu/drm/drm_atomic.c

index 5b4547e..46dceb5 100644 (file)
@@ -1302,8 +1302,8 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
        struct drm_crtc_state *new_crtc_state;
        struct drm_connector *conn;
        struct drm_connector_state *conn_state;
-       unsigned requested_crtc = 0;
-       unsigned affected_crtc = 0;
+       unsigned int requested_crtc = 0;
+       unsigned int affected_crtc = 0;
        int i, ret = 0;
 
        DRM_DEBUG_ATOMIC("checking %p\n", state);