All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/rcar-du: dw-hdmi: Fix compilation
@ 2018-02-16 15:44 Maxime Ripard
  2018-02-16 15:53 ` Sean Paul
  2018-02-19 16:22 ` Laurent Pinchart
  0 siblings, 2 replies; 4+ messages in thread
From: Maxime Ripard @ 2018-02-16 15:44 UTC (permalink / raw)
  To: dri-devel; +Cc: Maxime Ripard, Jernej Skrabec, Laurent Pinchart

Commit eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
broke the build with one build error and one warning. Fix both.

Cc: Archit Taneja <architt@codeaurora.org>
Cc: Jernej Skrabec <jernej.skrabec@siol.net>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Fixes: eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
---
 drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
index 3bebc6821e9c..76210ae25094 100644
--- a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
+++ b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
@@ -75,11 +75,13 @@ static int rcar_dw_hdmi_probe(struct platform_device *pdev)
 		return PTR_ERR(hdmi);
 
 	platform_set_drvdata(pdev, hdmi);
+
+	return 0;
 }
 
 static int rcar_dw_hdmi_remove(struct platform_device *pdev)
 {
-	struct dw_hdmi *hdmi = platform_get_drvdata(dev);
+	struct dw_hdmi *hdmi = platform_get_drvdata(pdev);
 
 	dw_hdmi_remove(hdmi);
 
-- 
2.14.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/rcar-du: dw-hdmi: Fix compilation
  2018-02-16 15:44 [PATCH] drm/rcar-du: dw-hdmi: Fix compilation Maxime Ripard
@ 2018-02-16 15:53 ` Sean Paul
  2018-02-16 18:25   ` Maxime Ripard
  2018-02-19 16:22 ` Laurent Pinchart
  1 sibling, 1 reply; 4+ messages in thread
From: Sean Paul @ 2018-02-16 15:53 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: Jernej Skrabec, Laurent Pinchart, dri-devel

On Fri, Feb 16, 2018 at 04:44:12PM +0100, Maxime Ripard wrote:
> Commit eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
> broke the build with one build error and one warning. Fix both.

Reviewed-by: Sean Paul <seanpaul@chromium.org>

> 
> Cc: Archit Taneja <architt@codeaurora.org>
> Cc: Jernej Skrabec <jernej.skrabec@siol.net>
> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Fixes: eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
> ---
>  drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
> index 3bebc6821e9c..76210ae25094 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
> @@ -75,11 +75,13 @@ static int rcar_dw_hdmi_probe(struct platform_device *pdev)
>  		return PTR_ERR(hdmi);
>  
>  	platform_set_drvdata(pdev, hdmi);
> +
> +	return 0;
>  }
>  
>  static int rcar_dw_hdmi_remove(struct platform_device *pdev)
>  {
> -	struct dw_hdmi *hdmi = platform_get_drvdata(dev);
> +	struct dw_hdmi *hdmi = platform_get_drvdata(pdev);
>  
>  	dw_hdmi_remove(hdmi);
>  
> -- 
> 2.14.3
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/rcar-du: dw-hdmi: Fix compilation
  2018-02-16 15:53 ` Sean Paul
@ 2018-02-16 18:25   ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2018-02-16 18:25 UTC (permalink / raw)
  To: Sean Paul; +Cc: Jernej Skrabec, Laurent Pinchart, dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 487 bytes --]

On Fri, Feb 16, 2018 at 10:53:08AM -0500, Sean Paul wrote:
> On Fri, Feb 16, 2018 at 04:44:12PM +0100, Maxime Ripard wrote:
> > Commit eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
> > broke the build with one build error and one warning. Fix both.
> 
> Reviewed-by: Sean Paul <seanpaul@chromium.org>

Pushed, sorry for the mess.

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/rcar-du: dw-hdmi: Fix compilation
  2018-02-16 15:44 [PATCH] drm/rcar-du: dw-hdmi: Fix compilation Maxime Ripard
  2018-02-16 15:53 ` Sean Paul
@ 2018-02-19 16:22 ` Laurent Pinchart
  1 sibling, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2018-02-19 16:22 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: Jernej Skrabec, dri-devel

Hi Maxime,

On Friday, 16 February 2018 17:44:12 EET Maxime Ripard wrote:
> Commit eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
> broke the build with one build error and one warning. Fix both.
> 
> Cc: Archit Taneja <architt@codeaurora.org>
> Cc: Jernej Skrabec <jernej.skrabec@siol.net>
> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Fixes: eea034af90c6 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>

A bit late as you've pushed the patch already, but

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

> ---
>  drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
> b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c index 3bebc6821e9c..76210ae25094
> 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c
> @@ -75,11 +75,13 @@ static int rcar_dw_hdmi_probe(struct platform_device
> *pdev) return PTR_ERR(hdmi);
> 
>  	platform_set_drvdata(pdev, hdmi);
> +
> +	return 0;
>  }
> 
>  static int rcar_dw_hdmi_remove(struct platform_device *pdev)
>  {
> -	struct dw_hdmi *hdmi = platform_get_drvdata(dev);
> +	struct dw_hdmi *hdmi = platform_get_drvdata(pdev);
> 
>  	dw_hdmi_remove(hdmi);

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-19 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 15:44 [PATCH] drm/rcar-du: dw-hdmi: Fix compilation Maxime Ripard
2018-02-16 15:53 ` Sean Paul
2018-02-16 18:25   ` Maxime Ripard
2018-02-19 16:22 ` Laurent Pinchart

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.