diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3083-drm-amdgpu-fix-semicolon.cocci-warnings.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3083-drm-amdgpu-fix-semicolon.cocci-warnings.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3083-drm-amdgpu-fix-semicolon.cocci-warnings.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3083-drm-amdgpu-fix-semicolon.cocci-warnings.patch new file mode 100644 index 00000000..85413d88 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3083-drm-amdgpu-fix-semicolon.cocci-warnings.patch @@ -0,0 +1,38 @@ +From a1f1a22679d80090bf1325a8dc17b215954191e9 Mon Sep 17 00:00:00 2001 +From: Fengguang Wu <fengguang.wu@intel.com> +Date: Fri, 5 Jan 2018 07:06:46 +0800 +Subject: [PATCH 3083/4131] drm/amdgpu: fix semicolon.cocci warnings +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:281:2-3: Unneeded semicolon + + Remove unneeded semicolon. + +Generated by: scripts/coccinelle/misc/semicolon.cocci + +Fixes: 620f774f4687 ("drm/amdgpu: separate VMID and PASID handling") +CC: Christian König <christian.koenig@amd.com> +Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> +Reviewed-by: Christian König <christian.koenig@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +index f3143af..8645460 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +@@ -282,7 +282,7 @@ int amdgpu_vmid_grab(struct amdgpu_vm *vm, struct amdgpu_ring *ring, + else + goto no_flush_needed; + +- }; ++ } + + /* Still no ID to use? Then use the idle one found earlier */ + id = idle; +-- +2.7.4 + |