linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] power: supply: fix semicolon.cocci warnings
       [not found] <201905110244.kMA51f4E%lkp@intel.com>
@ 2019-05-10 18:03 ` kbuild test robot
  2019-06-27 18:33   ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-05-10 18:03 UTC (permalink / raw)
  To: Andrey Smirnov
  Cc: kbuild-all, Sebastian Reichel, Enric Balletbo Serra,
	Guenter Roeck, linux-pm, linux-kernel

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

drivers/power/supply/ucs1002_power.c:339:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 9a2688e42638 ("power: supply: Add driver for Microchip UCS1002")
CC: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next
head:   c8f3c9fe83cafc94679007b9c0083ee25d5735e0
commit: 9a2688e42638f2e057dbdfce82e221b38bfba0a7 [42/44] power: supply: Add driver for Microchip UCS1002

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

--- a/drivers/power/supply/ucs1002_power.c
+++ b/drivers/power/supply/ucs1002_power.c
@@ -336,7 +336,7 @@ static int ucs1002_get_usb_type(struct u
 	case F_ACTIVE_MODE_BC12_CDP:
 		type = POWER_SUPPLY_USB_TYPE_CDP;
 		break;
-	};
+	}
 
 	val->intval = type;
 

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

* Re: [PATCH] power: supply: fix semicolon.cocci warnings
  2019-05-10 18:03 ` [PATCH] power: supply: fix semicolon.cocci warnings kbuild test robot
@ 2019-06-27 18:33   ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2019-06-27 18:33 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Andrey Smirnov, kbuild-all, Enric Balletbo Serra, Guenter Roeck,
	linux-pm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

Hi,

On Sat, May 11, 2019 at 02:03:47AM +0800, kbuild test robot wrote:
> From: kbuild test robot <lkp@intel.com>
> 
> drivers/power/supply/ucs1002_power.c:339:2-3: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci

Thanks, queued.

-- Sebastian

> Fixes: 9a2688e42638 ("power: supply: Add driver for Microchip UCS1002")
> CC: Andrey Smirnov <andrew.smirnov@gmail.com>
> Signed-off-by: kbuild test robot <lkp@intel.com>
> ---
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next
> head:   c8f3c9fe83cafc94679007b9c0083ee25d5735e0
> commit: 9a2688e42638f2e057dbdfce82e221b38bfba0a7 [42/44] power: supply: Add driver for Microchip UCS1002
> 
>  ucs1002_power.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/power/supply/ucs1002_power.c
> +++ b/drivers/power/supply/ucs1002_power.c
> @@ -336,7 +336,7 @@ static int ucs1002_get_usb_type(struct u
>  	case F_ACTIVE_MODE_BC12_CDP:
>  		type = POWER_SUPPLY_USB_TYPE_CDP;
>  		break;
> -	};
> +	}
>  
>  	val->intval = type;
>  

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-06-27 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201905110244.kMA51f4E%lkp@intel.com>
2019-05-10 18:03 ` [PATCH] power: supply: fix semicolon.cocci warnings kbuild test robot
2019-06-27 18:33   ` Sebastian Reichel

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