* [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int"
@ 2021-04-12 10:53 ` Fabio M. De Francesco
0 siblings, 0 replies; 6+ messages in thread
From: Fabio M. De Francesco @ 2021-04-12 10:53 UTC (permalink / raw)
To: dri-devel, outreachy-kernel, Daniel Vetter, Melissa Wen,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie
Cc: Fabio M. De Francesco
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>
---
drivers/gpu/drm/drm_atomic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index 5b4547e0f775..46dceb51c90f 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -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);
--
2.31.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int"
@ 2021-04-12 10:53 ` Fabio M. De Francesco
0 siblings, 0 replies; 6+ messages in thread
From: Fabio M. De Francesco @ 2021-04-12 10:53 UTC (permalink / raw)
To: dri-devel, outreachy-kernel, Daniel Vetter, Melissa Wen,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie
Cc: Fabio M. De Francesco
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>
---
drivers/gpu/drm/drm_atomic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index 5b4547e0f775..46dceb51c90f 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -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);
--
2.31.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int"
2021-04-12 10:53 ` Fabio M. De Francesco
@ 2021-04-12 12:11 ` Daniel Vetter
-1 siblings, 0 replies; 6+ messages in thread
From: Daniel Vetter @ 2021-04-12 12:11 UTC (permalink / raw)
To: Fabio M. De Francesco
Cc: dri-devel, outreachy-kernel, Daniel Vetter, Melissa Wen,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie
On Mon, Apr 12, 2021 at 12:53:09PM +0200, Fabio M. De Francesco wrote:
> Replaced the type "unsigned" with "unsigned int" because it is
> preferred. Issue detected by checkpatch.pl.
Huh, I didn't know that, TIL.
> Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Thanks for your patche, merged to drm-misc-next for 5.14.
-Daniel
> ---
> drivers/gpu/drm/drm_atomic.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
> index 5b4547e0f775..46dceb51c90f 100644
> --- a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -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);
> --
> 2.31.1
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int"
@ 2021-04-12 12:11 ` Daniel Vetter
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Vetter @ 2021-04-12 12:11 UTC (permalink / raw)
To: Fabio M. De Francesco
Cc: David Airlie, Daniel Vetter, Melissa Wen, outreachy-kernel,
dri-devel, Thomas Zimmermann
On Mon, Apr 12, 2021 at 12:53:09PM +0200, Fabio M. De Francesco wrote:
> Replaced the type "unsigned" with "unsigned int" because it is
> preferred. Issue detected by checkpatch.pl.
Huh, I didn't know that, TIL.
> Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Thanks for your patche, merged to drm-misc-next for 5.14.
-Daniel
> ---
> drivers/gpu/drm/drm_atomic.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
> index 5b4547e0f775..46dceb51c90f 100644
> --- a/drivers/gpu/drm/drm_atomic.c
> +++ b/drivers/gpu/drm/drm_atomic.c
> @@ -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);
> --
> 2.31.1
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int"
2021-04-12 12:11 ` Daniel Vetter
@ 2021-04-12 12:28 ` Fabio M. De Francesco
-1 siblings, 0 replies; 6+ messages in thread
From: Fabio M. De Francesco @ 2021-04-12 12:28 UTC (permalink / raw)
To: Daniel Vetter
Cc: dri-devel, outreachy-kernel, Daniel Vetter, Melissa Wen,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie
On Monday, April 12, 2021 2:11:59 PM CEST Daniel Vetter wrote:
> On Mon, Apr 12, 2021 at 12:53:09PM +0200, Fabio M. De Francesco wrote:
> > Replaced the type "unsigned" with "unsigned int" because it is
> > preferred. Issue detected by checkpatch.pl.
>
> Huh, I didn't know that, TIL.
>
> > Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
>
> 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
>
> > ---
> >
> > drivers/gpu/drm/drm_atomic.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/drm_atomic.c
> > b/drivers/gpu/drm/drm_atomic.c
> > index 5b4547e0f775..46dceb51c90f 100644
> > --- a/drivers/gpu/drm/drm_atomic.c
> > +++ b/drivers/gpu/drm/drm_atomic.c
> > @@ -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);
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int"
@ 2021-04-12 12:28 ` Fabio M. De Francesco
0 siblings, 0 replies; 6+ messages in thread
From: Fabio M. De Francesco @ 2021-04-12 12:28 UTC (permalink / raw)
To: Daniel Vetter
Cc: David Airlie, Daniel Vetter, Melissa Wen, outreachy-kernel,
dri-devel, Thomas Zimmermann
On Monday, April 12, 2021 2:11:59 PM CEST Daniel Vetter wrote:
> On Mon, Apr 12, 2021 at 12:53:09PM +0200, Fabio M. De Francesco wrote:
> > Replaced the type "unsigned" with "unsigned int" because it is
> > preferred. Issue detected by checkpatch.pl.
>
> Huh, I didn't know that, TIL.
>
> > Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
>
> 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
>
> > ---
> >
> > drivers/gpu/drm/drm_atomic.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/drm_atomic.c
> > b/drivers/gpu/drm/drm_atomic.c
> > index 5b4547e0f775..46dceb51c90f 100644
> > --- a/drivers/gpu/drm/drm_atomic.c
> > +++ b/drivers/gpu/drm/drm_atomic.c
> > @@ -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);
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-12 12:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12 10:53 [PATCH] gpu: drm: Replace bare "unsigned" with "unsigned int" Fabio M. De Francesco
2021-04-12 10:53 ` Fabio M. De Francesco
2021-04-12 12:11 ` Daniel Vetter
2021-04-12 12:11 ` Daniel Vetter
2021-04-12 12:28 ` Fabio M. De Francesco
2021-04-12 12:28 ` Fabio M. De Francesco
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.