diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5191-drm-amd-display-indent-an-if-statement.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/5191-drm-amd-display-indent-an-if-statement.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5191-drm-amd-display-indent-an-if-statement.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5191-drm-amd-display-indent-an-if-statement.patch new file mode 100644 index 00000000..540b4290 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5191-drm-amd-display-indent-an-if-statement.patch @@ -0,0 +1,30 @@ +From 4b1a1bba2d8f48cc6ec1f65846b7bd832fdee9aa Mon Sep 17 00:00:00 2001 +From: Dan Carpenter <dan.carpenter@oracle.com> +Date: Tue, 14 Aug 2018 12:09:45 +0300 +Subject: [PATCH 5191/5725] drm/amd/display: indent an if statement + +The if statement isn't indented and it makes static checkers complain. + +Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> +Reviewed-by: Harry Wentland <harry.wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +index 40fd969..3462ec1 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +@@ -348,7 +348,7 @@ static bool is_dp_and_hdmi_sharable( + + if (stream1->clamping.c_depth != COLOR_DEPTH_888 || + stream2->clamping.c_depth != COLOR_DEPTH_888) +- return false; ++ return false; + + return true; + +-- +2.7.4 + |