[PATCH 1/4] amdgpu/dc: fix indentation on a couple of returns.

Dave Airlie airlied at gmail.com
Tue Oct 3 05:10:59 UTC 2017


From: Dave Airlie <airlied at redhat.com>

These were misaligned.

found by the cocci ifcol script.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
index 3d65e2a..cb94e18 100644
--- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
+++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
@@ -1472,7 +1472,7 @@ static enum bp_result get_integrated_info_v11(
 					DATA_TABLES(integratedsysteminfo));
 
 	if (info_v11 == NULL)
-	return BP_RESULT_BADBIOSTABLE;
+		return BP_RESULT_BADBIOSTABLE;
 
 	info->gpu_cap_info =
 	le32_to_cpu(info_v11->gpucapinfo);
@@ -1753,7 +1753,7 @@ static struct integrated_info *bios_parser_create_integrated_info(
 	}
 
 	if (construct_integrated_info(bp, info) == BP_RESULT_OK)
-	return info;
+		return info;
 
 	kfree(info);
 
-- 
2.9.5



More information about the amd-gfx mailing list