diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4873-drm-amd-pp-fix-semicolon.cocci-warnings.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4873-drm-amd-pp-fix-semicolon.cocci-warnings.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4873-drm-amd-pp-fix-semicolon.cocci-warnings.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4873-drm-amd-pp-fix-semicolon.cocci-warnings.patch new file mode 100644 index 00000000..e40a2629 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4873-drm-amd-pp-fix-semicolon.cocci-warnings.patch @@ -0,0 +1,35 @@ +From abd8347b8e7c78e2624220a523ed1e9e6abc10f6 Mon Sep 17 00:00:00 2001 +From: kbuild test robot <fengguang.wu@intel.com> +Date: Wed, 11 Jul 2018 01:11:08 +0800 +Subject: [PATCH 4873/5725] drm/amd/pp: fix semicolon.cocci warnings + +drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.c:1209:17-18: Unneeded semicolon + + Remove unneeded semicolon. + +Generated by: scripts/coccinelle/misc/semicolon.cocci + +Fixes: ea870e44415a ("drm/amd/pp: Export notify_smu_enable_pwe to display") +CC: Rex Zhu <Rex.Zhu@amd.com> +Signed-off-by: kbuild test robot <fengguang.wu@intel.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c +index 63db1ea..2a479fa 100644 +--- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c ++++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c +@@ -1217,7 +1217,7 @@ static int pp_notify_smu_enable_pwe(void *handle) + struct pp_hwmgr *hwmgr = handle; + + if (!hwmgr || !hwmgr->pm_en) +- return -EINVAL;; ++ return -EINVAL; + + if (hwmgr->hwmgr_func->smus_notify_pwe == NULL) { + pr_info("%s was not implemented.\n", __func__); +-- +2.7.4 + |