gpu: drm: Replace bare "unsigned" with "unsigned int"
Subsystems (2)
PATCH 1/1 gpu: drm: Replace bare "unsigned" with "unsigned int"
Replaced the type "unsigned" with "unsigned int" because it is preferred. Issue detected by checkpatch.pl.
Signed-off-by Fabio M. De Francesco <[email protected]>
--- drivers/gpu/drm/drm_atomic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_atomic.c +2 -2
@@ -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);
Signature · 1 line
2.31.1
Quoted 2 lines · Fabio M. De Francesco
Replaced the type "unsigned" with "unsigned int" because it is preferred. Issue detected by checkpatch.pl.
Huh, I didn't know that, TIL.
Quoted 1 line
Signed-off-by Fabio M. De Francesco <[email protected]>
Thanks for your patche, merged to drm-misc-next for 5.14. -Daniel
Quoted 22 lines
--- drivers/gpu/drm/drm_atomic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/drm_atomic.c +2
-2@@ -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);Signature · 1 line
2.31.1
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Quoted 11 lines · CEST Daniel Vetter
Quoted 2 lines · Fabio M. De Francesco
Replaced the type "unsigned" with "unsigned int" because it is preferred. Issue detected by checkpatch.pl.
Huh, I didn't know that, TIL.
Quoted 1 line
Signed-off-by Fabio M. De Francesco <[email protected]>Thanks for your patche, merged to drm-misc-next for 5.14. -Daniel
I am happy that my first dri-devel patch has been accepted.
Thanks,
Fabio
Quoted 25 lines
Quoted 25 lines
---
drivers/gpu/drm/drm_atomic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/drm_atomic.c +2
-2@@ -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 ;drivers/gpu/drm/drm_atomic.c +0
-0int i, ret =0 ;DRM_DEBUG_ATOMIC ("checking %p\n" , state);