dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [radeon-alex:drm-next-5.2-wip 264/283] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon
@ 2019-03-06  5:26 kbuild test robot
  2019-03-06  5:26 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kbuild test robot
  0 siblings, 1 reply; 9+ messages in thread
From: kbuild test robot @ 2019-03-06  5:26 UTC (permalink / raw)
  To: xinhui pan; +Cc: Alex Deucher, kbuild-all, dri-devel

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-5.2-wip
head:   5b1489e11b0d36226c0192b3ce18f5654fd15243
commit: 1381f5b10b10f8f88d01ca43be9161aeed1d68a2 [264/283] drm/amdgpu: add amdgpu_ras.c to support ras (v2)


coccinelle warnings: (new ones prefixed by >>)

>> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon
   drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:435:2-3: Unneeded semicolon

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2019-03-06  5:26 [radeon-alex:drm-next-5.2-wip 264/283] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon kbuild test robot
@ 2019-03-06  5:26 ` kbuild test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2019-03-06  5:26 UTC (permalink / raw)
  To: xinhui pan; +Cc: Alex Deucher, kbuild-all, dri-devel

From: kbuild test robot <lkp@intel.com>

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:435:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 1381f5b10b10 ("drm/amdgpu: add amdgpu_ras.c to support ras (v2)")
CC: xinhui pan <xinhui.pan@amd.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-5.2-wip
head:   5b1489e11b0d36226c0192b3ce18f5654fd15243
commit: 1381f5b10b10f8f88d01ca43be9161aeed1d68a2 [264/283] drm/amdgpu: add amdgpu_ras.c to support ras (v2)

 amdgpu_ras.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -402,7 +402,7 @@ static int amdgpu_ras_disable_all_featur
 			if (amdgpu_ras_feature_enable(adev, &obj->head, 0))
 				break;
 		}
-	};
+	}
 
 	return con->features;
 }
@@ -432,7 +432,7 @@ static int amdgpu_ras_enable_all_feature
 			if (amdgpu_ras_feature_enable(adev, &head, 1))
 				break;
 		}
-	};
+	}
 
 	return con->features;
 }
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] drm/amdgpu: fix semicolon.cocci warnings
@ 2021-04-02 15:50 Julia Lawall
  0 siblings, 0 replies; 9+ messages in thread
From: Julia Lawall @ 2021-04-02 15:50 UTC (permalink / raw)
  To: Lijo Lazar, Alex Deucher, Feifei Xu
  Cc: kbuild-all, David Airlie, linux-kernel, dri-devel, amd-gfx,
	Christian König, Hawking Zhang

From: kernel test robot <lkp@intel.com>

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 37439a51ff17 ("drm/amdgpu: Add mode2 reset support for aldebaran")
CC: Lijo Lazar <lijo.lazar@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
---

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next-5.13
head:   ef95d2a98d642a537190d73c45ae3c308afee890
commit: 37439a51ff171f938f886d6078802926fb27ccf8 [100/149] drm/amdgpu: Add mode2 reset support for aldebaran
:::::: branch date: 14 hours ago
:::::: commit date: 4 days ago

 aldebaran.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/aldebaran.c
+++ b/drivers/gpu/drm/amd/amdgpu/aldebaran.c
@@ -227,7 +227,7 @@ static int aldebaran_mode2_restore_ip(st
 			break;
 		default:
 			break;
-		};
+		}
 	}

 	/* Reinit NBIF block */
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2020-10-12 21:20 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kernel test robot
@ 2020-10-13 13:01   ` Alex Deucher
  0 siblings, 0 replies; 9+ messages in thread
From: Alex Deucher @ 2020-10-13 13:01 UTC (permalink / raw)
  To: kernel test robot
  Cc: Jonathan Kim, kbuild-all, David Airlie, Felix Kuehling,
	Harish Kasiviswanathan, Maling list - DRI developers, zhengbin,
	Luben Tuikov, Joseph Greathouse, Alex Deucher,
	Christian König

Applied.  Thanks!

Alex

On Mon, Oct 12, 2020 at 5:21 PM kernel test robot <lkp@intel.com> wrote:
>
> From: kernel test robot <lkp@intel.com>
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:608:2-3: Unneeded semicolon
>
>
>  Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> Fixes: b4a7db71ea06 ("drm/amdgpu: add per device user friendly xgmi events for vega20")
> CC: Jonathan Kim <jonathan.kim@amd.com>
> Signed-off-by: kernel test robot <lkp@intel.com>
> ---
>
> tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next
> head:   02c3d98ce25b3e4f0b8e830be054c8f4f7f944c1
> commit: b4a7db71ea060218529e6a4c660c37687ecb5669 [286/376] drm/amdgpu: add per device user friendly xgmi events for vega20
>
>  amdgpu_pmu.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
> @@ -605,7 +605,7 @@ int amdgpu_pmu_init(struct amdgpu_device
>                 break;
>         default:
>                 return 0;
> -       };
> +       }
>
>         return ret;
>  }
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2020-10-12 21:20 [radeon-alex:drm-next 286/376] drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:608:2-3: Unneeded semicolon kernel test robot
@ 2020-10-12 21:20 ` kernel test robot
  2020-10-13 13:01   ` Alex Deucher
  0 siblings, 1 reply; 9+ messages in thread
From: kernel test robot @ 2020-10-12 21:20 UTC (permalink / raw)
  To: Jonathan Kim
  Cc: kbuild-all, Joseph Greathouse, David Airlie, Felix Kuehling,
	Harish Kasiviswanathan, dri-devel, zhengbin, Luben Tuikov,
	Alex Deucher, Christian König

From: kernel test robot <lkp@intel.com>

drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:608:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: b4a7db71ea06 ("drm/amdgpu: add per device user friendly xgmi events for vega20")
CC: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next
head:   02c3d98ce25b3e4f0b8e830be054c8f4f7f944c1
commit: b4a7db71ea060218529e6a4c660c37687ecb5669 [286/376] drm/amdgpu: add per device user friendly xgmi events for vega20

 amdgpu_pmu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
@@ -605,7 +605,7 @@ int amdgpu_pmu_init(struct amdgpu_device
 		break;
 	default:
 		return 0;
-	};
+	}
 
 	return ret;
 }
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2018-01-04 23:06 [radeon-alex:drm-next-4.16-wip 1/49] drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:281:2-3: Unneeded semicolon kbuild test robot
@ 2018-01-04 23:06 ` kbuild test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2018-01-04 23:06 UTC (permalink / raw)
  To: Christian König; +Cc: Alex Deucher, kbuild-all, dri-devel

From: Fengguang Wu <fengguang.wu@intel.com>

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>
---

 amdgpu_ids.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
@@ -278,7 +278,7 @@ int amdgpu_vmid_grab(struct amdgpu_vm *v
 		else
 			goto no_flush_needed;
 
-	};
+	}
 
 	/* Still no ID to use? Then use the idle one found earlier */
 	id = idle;
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2017-03-31 10:15 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kbuild test robot
@ 2017-03-31 10:39   ` Huang Rui
  0 siblings, 0 replies; 9+ messages in thread
From: Huang Rui @ 2017-03-31 10:39 UTC (permalink / raw)
  To: kbuild test robot; +Cc: Deucher, Alexander, kbuild-all, dri-devel

On Fri, Mar 31, 2017 at 06:15:10PM +0800, kbuild test robot wrote:
> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Huang Rui <ray.huang@amd.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---

Acked-by: Huang Rui <ray.huang@amd.com>

> 
>  amdgpu_psp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -130,7 +130,7 @@ psp_cmd_submit_buf(struct psp_context *p
>  
>          while (*((unsigned int *)psp->fence_buf) != index) {
>                  msleep(1);
> -       };
> +       }
>  
>          amdgpu_bo_free_kernel(&cmd_buf_bo,
>                                &cmd_buf_mc_addr,
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2017-03-31 10:15 [radeon-alex:drm-next-4.12 206/315] drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon kbuild test robot
@ 2017-03-31 10:15 ` kbuild test robot
  2017-03-31 10:39   ` Huang Rui
  0 siblings, 1 reply; 9+ messages in thread
From: kbuild test robot @ 2017-03-31 10:15 UTC (permalink / raw)
  To: Huang Rui; +Cc: Alex Deucher, kbuild-all, dri-devel

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Huang Rui <ray.huang@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 amdgpu_psp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -130,7 +130,7 @@ psp_cmd_submit_buf(struct psp_context *p
 
 	while (*((unsigned int *)psp->fence_buf) != index) {
 		msleep(1);
-	};
+	}
 
 	amdgpu_bo_free_kernel(&cmd_buf_bo,
 			      &cmd_buf_mc_addr,
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] drm/amdgpu: fix semicolon.cocci warnings
  2016-09-14  4:55 [radeon-alex:amd-staging-4.7 367/1327] drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:827:59-60: Unneeded semicolon kbuild test robot
@ 2016-09-14  4:55 ` kbuild test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2016-09-14  4:55 UTC (permalink / raw)
  To: Harry Wentland; +Cc: Alex Deucher, kbuild-all, dri-devel

drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:827:59-60: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:828:55-56: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:829:57-58: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:830:53-54: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:831:47-48: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 amdgpu_dm_types.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- a/drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c
+++ b/drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c
@@ -824,11 +824,11 @@ static void copy_crtc_timing_for_drm_dis
 	dst_mode->crtc_hsync_end = src_mode->crtc_hsync_end;
 	dst_mode->crtc_htotal = src_mode->crtc_htotal;
 	dst_mode->crtc_hskew = src_mode->crtc_hskew;
-	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;;
-	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;;
-	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;;
-	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;;
-	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;;
+	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;
+	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;
+	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;
+	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;
+	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;
 }
 
 static void decide_crtc_timing_for_drm_display_mode(
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-02 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06  5:26 [radeon-alex:drm-next-5.2-wip 264/283] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon kbuild test robot
2019-03-06  5:26 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-04-02 15:50 Julia Lawall
2020-10-12 21:20 [radeon-alex:drm-next 286/376] drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:608:2-3: Unneeded semicolon kernel test robot
2020-10-12 21:20 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kernel test robot
2020-10-13 13:01   ` Alex Deucher
2018-01-04 23:06 [radeon-alex:drm-next-4.16-wip 1/49] drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:281:2-3: Unneeded semicolon kbuild test robot
2018-01-04 23:06 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kbuild test robot
2017-03-31 10:15 [radeon-alex:drm-next-4.12 206/315] drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon kbuild test robot
2017-03-31 10:15 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kbuild test robot
2017-03-31 10:39   ` Huang Rui
2016-09-14  4:55 [radeon-alex:amd-staging-4.7 367/1327] drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:827:59-60: Unneeded semicolon kbuild test robot
2016-09-14  4:55 ` [PATCH] drm/amdgpu: fix semicolon.cocci warnings kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).