Skip to contentSkip to conversation

drm/exynos/hdmi: add a missing tab

PATCH Applied Dan Carpenter 2 participants 2 messages May 12, 2016 – May 17, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/exynos/hdmi: add a missing tab

Smatch warns that the if statement isn't indented.

drivers/gpu/drm/exynos/exynos_hdmi.c +1 -1
index 0f87acb..748e62f 100644
@@ -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;
#1 lore raw
Quoted 3 lines · Dan Carpenter

Smatch warns that the if statement isn't indented.

Applied to drm-misc, thanks.
-Daniel

Quoted 18 lines
drivers/gpu/drm/exynos/exynos_hdmi.c +1 -1
index 0f87acb..748e62f 100644
@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch