diff mbox series

[RESEND,17/26] drm/xlnx/zynqmp_disp: Fix incorrectly named enum 'zynqmp_disp_layer_id'

Message ID 20210602143300.2330146-18-lee.jones@linaro.org
State New
Headers show
Series Rid W=1 warnings from GPU | expand

Commit Message

Lee Jones June 2, 2021, 2:32 p.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/xlnx/zynqmp_disp.c:101: warning: expecting prototype for enum zynqmp_disp_id. Prototype was for enum zynqmp_disp_layer_id instead

Cc: Hyun Kwon <hyun.kwon@xilinx.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1

Comments

Laurent Pinchart June 2, 2021, 4:20 p.m. UTC | #1
Hi Lee,

Thank you for the patch.

On Wed, Jun 02, 2021 at 03:32:51PM +0100, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):

> 

>  drivers/gpu/drm/xlnx/zynqmp_disp.c:101: warning: expecting prototype for enum zynqmp_disp_id. Prototype was for enum zynqmp_disp_layer_id instead

> 

> Cc: Hyun Kwon <hyun.kwon@xilinx.com>

> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> Cc: David Airlie <airlied@linux.ie>

> Cc: Daniel Vetter <daniel@ffwll.ch>

> Cc: Michal Simek <michal.simek@xilinx.com>

> Cc: dri-devel@lists.freedesktop.org

> Cc: linux-arm-kernel@lists.infradead.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>


Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>


> ---

>  drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c

> index 109d627968ac0..ca1161ec9e16f 100644

> --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c

> +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c

> @@ -91,7 +91,7 @@ struct zynqmp_disp_format {

>  };

>  

>  /**

> - * enum zynqmp_disp_id - Layer identifier

> + * enum zynqmp_disp_layer_id - Layer identifier

>   * @ZYNQMP_DISP_LAYER_VID: Video layer

>   * @ZYNQMP_DISP_LAYER_GFX: Graphics layer

>   */


-- 
Regards,

Laurent Pinchart
Daniel Vetter June 3, 2021, 11:30 a.m. UTC | #2
On Wed, Jun 02, 2021 at 07:20:35PM +0300, Laurent Pinchart wrote:
> Hi Lee,

> 

> Thank you for the patch.

> 

> On Wed, Jun 02, 2021 at 03:32:51PM +0100, Lee Jones wrote:

> > Fixes the following W=1 kernel build warning(s):

> > 

> >  drivers/gpu/drm/xlnx/zynqmp_disp.c:101: warning: expecting prototype for enum zynqmp_disp_id. Prototype was for enum zynqmp_disp_layer_id instead

> > 

> > Cc: Hyun Kwon <hyun.kwon@xilinx.com>

> > Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> > Cc: David Airlie <airlied@linux.ie>

> > Cc: Daniel Vetter <daniel@ffwll.ch>

> > Cc: Michal Simek <michal.simek@xilinx.com>

> > Cc: dri-devel@lists.freedesktop.org

> > Cc: linux-arm-kernel@lists.infradead.org

> > Signed-off-by: Lee Jones <lee.jones@linaro.org>

> 

> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>


I'm assuming you'll merge these two for xlnx somehow?
-Daniel

> 

> > ---

> >  drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +-

> >  1 file changed, 1 insertion(+), 1 deletion(-)

> > 

> > diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c

> > index 109d627968ac0..ca1161ec9e16f 100644

> > --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c

> > +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c

> > @@ -91,7 +91,7 @@ struct zynqmp_disp_format {

> >  };

> >  

> >  /**

> > - * enum zynqmp_disp_id - Layer identifier

> > + * enum zynqmp_disp_layer_id - Layer identifier

> >   * @ZYNQMP_DISP_LAYER_VID: Video layer

> >   * @ZYNQMP_DISP_LAYER_GFX: Graphics layer

> >   */

> 

> -- 

> Regards,

> 

> Laurent Pinchart


-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
diff mbox series

Patch

diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c
index 109d627968ac0..ca1161ec9e16f 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_disp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c
@@ -91,7 +91,7 @@  struct zynqmp_disp_format {
 };
 
 /**
- * enum zynqmp_disp_id - Layer identifier
+ * enum zynqmp_disp_layer_id - Layer identifier
  * @ZYNQMP_DISP_LAYER_VID: Video layer
  * @ZYNQMP_DISP_LAYER_GFX: Graphics layer
  */