All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/amdgpu: Remove unneeded semicolon
@ 2019-12-14  9:02 ` zhengbin
  0 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

zhengbin (3):
  drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c
  drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c
  drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c

 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 ++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

--
2.7.4

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

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

* [PATCH 0/3] drm/amdgpu: Remove unneeded semicolon
@ 2019-12-14  9:02 ` zhengbin
  0 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

zhengbin (3):
  drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c
  drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c
  drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c

 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 ++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

--
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* [PATCH 1/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c
  2019-12-14  9:02 ` zhengbin
@ 2019-12-14  9:02   ` zhengbin
  -1 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:110:3-4: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:133:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:163:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:191:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
index 0e6dba9..cf21ad0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
@@ -107,7 +107,7 @@ static void amdgpu_perf_read(struct perf_event *event)
 		default:
 			count = 0;
 			break;
-		};
+		}
 	} while (local64_cmpxchg(&hwc->prev_count, prev, count) != prev);

 	local64_add(count - prev, &event->count);
@@ -130,7 +130,7 @@ static void amdgpu_perf_stop(struct perf_event *event, int flags)
 		break;
 	default:
 		break;
-	};
+	}

 	WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED);
 	hwc->state |= PERF_HES_STOPPED;
@@ -160,7 +160,7 @@ static int amdgpu_perf_add(struct perf_event *event, int flags)
 		break;
 	default:
 		return 0;
-	};
+	}

 	if (retval)
 		return retval;
@@ -188,7 +188,7 @@ static void amdgpu_perf_del(struct perf_event *event, int flags)
 		break;
 	default:
 		break;
-	};
+	}

 	perf_event_update_userpage(event);
 }
--
2.7.4

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

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

* [PATCH 1/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c
@ 2019-12-14  9:02   ` zhengbin
  0 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:110:3-4: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:133:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:163:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:191:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
index 0e6dba9..cf21ad0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
@@ -107,7 +107,7 @@ static void amdgpu_perf_read(struct perf_event *event)
 		default:
 			count = 0;
 			break;
-		};
+		}
 	} while (local64_cmpxchg(&hwc->prev_count, prev, count) != prev);

 	local64_add(count - prev, &event->count);
@@ -130,7 +130,7 @@ static void amdgpu_perf_stop(struct perf_event *event, int flags)
 		break;
 	default:
 		break;
-	};
+	}

 	WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED);
 	hwc->state |= PERF_HES_STOPPED;
@@ -160,7 +160,7 @@ static int amdgpu_perf_add(struct perf_event *event, int flags)
 		break;
 	default:
 		return 0;
-	};
+	}

 	if (retval)
 		return retval;
@@ -188,7 +188,7 @@ static void amdgpu_perf_del(struct perf_event *event, int flags)
 		break;
 	default:
 		break;
-	};
+	}

 	perf_event_update_userpage(event);
 }
--
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* [PATCH 2/3] drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c
  2019-12-14  9:02 ` zhengbin
@ 2019-12-14  9:02   ` zhengbin
  -1 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:1967:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 8cdef79..ce8495f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -1964,7 +1964,7 @@ static int gfx_v10_0_parse_rlc_toc(struct amdgpu_device *adev)
 		rlc_autoload_info[rlc_toc->id].size = rlc_toc->size * 4;

 		rlc_toc++;
-	};
+	}

 	return 0;
 }
--
2.7.4

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

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

* [PATCH 2/3] drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c
@ 2019-12-14  9:02   ` zhengbin
  0 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:1967:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 8cdef79..ce8495f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -1964,7 +1964,7 @@ static int gfx_v10_0_parse_rlc_toc(struct amdgpu_device *adev)
 		rlc_autoload_info[rlc_toc->id].size = rlc_toc->size * 4;

 		rlc_toc++;
-	};
+	}

 	return 0;
 }
--
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* [PATCH 3/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c
  2019-12-14  9:02 ` zhengbin
@ 2019-12-14  9:02   ` zhengbin
  -1 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

Fixes coccicheck warning:

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 04394c4..8b48793 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -315,7 +315,7 @@ static ssize_t amdgpu_ras_debugfs_ctrl_write(struct file *f, const char __user *
 	default:
 		ret = -EINVAL;
 		break;
-	};
+	}

 	if (ret)
 		return -EINVAL;
--
2.7.4

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

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

* [PATCH 3/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c
@ 2019-12-14  9:02   ` zhengbin
  0 siblings, 0 replies; 10+ messages in thread
From: zhengbin @ 2019-12-14  9:02 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David1.Zhou, airlied,
	daniel, amd-gfx, dri-devel
  Cc: zhengbin13

Fixes coccicheck warning:

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 04394c4..8b48793 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -315,7 +315,7 @@ static ssize_t amdgpu_ras_debugfs_ctrl_write(struct file *f, const char __user *
 	default:
 		ret = -EINVAL;
 		break;
-	};
+	}

 	if (ret)
 		return -EINVAL;
--
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* Re: [PATCH 0/3] drm/amdgpu: Remove unneeded semicolon
  2019-12-14  9:02 ` zhengbin
@ 2019-12-16 17:28   ` Alex Deucher
  -1 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2019-12-16 17:28 UTC (permalink / raw)
  To: zhengbin
  Cc: Dave Airlie, amd-gfx list, Maling list - DRI developers, Deucher,
	Alexander, Christian Koenig

Applied the series.  Thanks!

Alex

On Sat, Dec 14, 2019 at 9:44 AM zhengbin <zhengbin13@huawei.com> wrote:
>
> zhengbin (3):
>   drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c
>   drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c
>   drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 ++++----
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
>  drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c  | 2 +-
>  3 files changed, 6 insertions(+), 6 deletions(-)
>
> --
> 2.7.4
>
> _______________________________________________
> 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] 10+ messages in thread

* Re: [PATCH 0/3] drm/amdgpu: Remove unneeded semicolon
@ 2019-12-16 17:28   ` Alex Deucher
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2019-12-16 17:28 UTC (permalink / raw)
  To: zhengbin
  Cc: Chunming Zhou, Dave Airlie, amd-gfx list,
	Maling list - DRI developers, Daniel Vetter, Deucher, Alexander,
	Christian Koenig

Applied the series.  Thanks!

Alex

On Sat, Dec 14, 2019 at 9:44 AM zhengbin <zhengbin13@huawei.com> wrote:
>
> zhengbin (3):
>   drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c
>   drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c
>   drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 ++++----
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
>  drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c  | 2 +-
>  3 files changed, 6 insertions(+), 6 deletions(-)
>
> --
> 2.7.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2019-12-16 17:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14  9:02 [PATCH 0/3] drm/amdgpu: Remove unneeded semicolon zhengbin
2019-12-14  9:02 ` zhengbin
2019-12-14  9:02 ` [PATCH 1/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c zhengbin
2019-12-14  9:02   ` zhengbin
2019-12-14  9:02 ` [PATCH 2/3] drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c zhengbin
2019-12-14  9:02   ` zhengbin
2019-12-14  9:02 ` [PATCH 3/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c zhengbin
2019-12-14  9:02   ` zhengbin
2019-12-16 17:28 ` [PATCH 0/3] drm/amdgpu: Remove unneeded semicolon Alex Deucher
2019-12-16 17:28   ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.