linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/amd/pp: fix semicolon.cocci warnings
       [not found] <201807110104.iOYDaTfd%fengguang.wu@intel.com>
@ 2018-07-10 17:11 ` kbuild test robot
  2018-07-10 19:07   ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-07-10 17:11 UTC (permalink / raw)
  To: Rex Zhu
  Cc: David Airlie, Evan Quan, Huang Rui, amd-gfx, dri-devel, linux-kernel

From: kbuild test robot <fengguang.wu@intel.com>

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

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

--- a/drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.c
+++ b/drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.c
@@ -1206,7 +1206,7 @@ static int pp_notify_smu_enable_pwe(void
 	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__);

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

* Re: [PATCH] drm/amd/pp: fix semicolon.cocci warnings
  2018-07-10 17:11 ` [PATCH] drm/amd/pp: fix semicolon.cocci warnings kbuild test robot
@ 2018-07-10 19:07   ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2018-07-10 19:07 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Rex Zhu, David Airlie, LKML, Maling list - DRI developers,
	Huang Rui, amd-gfx list, Evan Quan

On Tue, Jul 10, 2018 at 1:11 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> From: kbuild test robot <fengguang.wu@intel.com>
>
> 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>

Applied.  thanks!

Alex

> ---
>
>  amd_powerplay.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.c
> +++ b/drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.c
> @@ -1206,7 +1206,7 @@ static int pp_notify_smu_enable_pwe(void
>         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__);
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-07-10 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201807110104.iOYDaTfd%fengguang.wu@intel.com>
2018-07-10 17:11 ` [PATCH] drm/amd/pp: fix semicolon.cocci warnings kbuild test robot
2018-07-10 19:07   ` Alex Deucher

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