public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] drm/exynos/hdmi: add a missing tab
@ 2016-05-12 19:54 Dan Carpenter
  2016-05-17  7:10 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2016-05-12 19:54 UTC (permalink / raw)
  To: Inki Dae, Andrzej Hajda
  Cc: Krzysztof Kozlowski, kernel-janitors, Seung-Woo Kim, dri-devel,
	Kyungmin Park, Kukjin Kim

Smatch warns that the if statement isn't indented.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index 0f87acb..748e62f 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -1612,7 +1612,7 @@ static int hdmi_clk_init(struct hdmi_context *hdata)
 
 	clks = devm_kzalloc(dev, sizeof(*clks) * count, GFP_KERNEL);
 	if (!clks)
-	return -ENOMEM;
+		return -ENOMEM;
 
 	hdata->clk_gates = clks;
 	hdata->clk_muxes = clks + drv_data->clk_gates.count;

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

* Re: [patch] drm/exynos/hdmi: add a missing tab
  2016-05-12 19:54 [patch] drm/exynos/hdmi: add a missing tab Dan Carpenter
@ 2016-05-17  7:10 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2016-05-17  7:10 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Krzysztof Kozlowski, Seung-Woo Kim, kernel-janitors, dri-devel,
	Andrzej Hajda, Kyungmin Park, Kukjin Kim

On Thu, May 12, 2016 at 10:54:57PM +0300, Dan Carpenter wrote:
> Smatch warns that the if statement isn't indented.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied to drm-misc, thanks.
-Daniel

> 
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index 0f87acb..748e62f 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
> @@ -1612,7 +1612,7 @@ static int hdmi_clk_init(struct hdmi_context *hdata)
>  
>  	clks = devm_kzalloc(dev, sizeof(*clks) * count, GFP_KERNEL);
>  	if (!clks)
> -	return -ENOMEM;
> +		return -ENOMEM;
>  
>  	hdata->clk_gates = clks;
>  	hdata->clk_muxes = clks + drv_data->clk_gates.count;
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

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

end of thread, other threads:[~2016-05-17  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 19:54 [patch] drm/exynos/hdmi: add a missing tab Dan Carpenter
2016-05-17  7:10 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox