netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] treewide: fix semicolon.cocci warnings
       [not found] <201701071138.c1Bc7M2t%fengguang.wu@intel.com>
@ 2017-01-07  3:26 ` kbuild test robot
  2017-01-07  9:23   ` Michal Hocko
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-01-07  3:26 UTC (permalink / raw)
  To: Michal Hocko
  Cc: kbuild-all, linux-mm, Pablo Neira Ayuso, Patrick McHardy,
	Jozsef Kadlecsik, netfilter-devel, coreteam, netdev, linux-kernel

net/netfilter/x_tables.c:716:59-60: Unneeded semicolon


 Remove unneeded semicolon.

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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/net/netfilter/x_tables.c
+++ b/net/netfilter/x_tables.c
@@ -713,7 +713,7 @@ EXPORT_SYMBOL(xt_check_entry_offsets);
 unsigned int *xt_alloc_entry_offsets(unsigned int size)
 {
 	if (size < (SIZE_MAX / sizeof(unsigned int)))
-		return kvmalloc(size * sizeof(unsigned int), GFP_KERNEL);;
+		return kvmalloc(size * sizeof(unsigned int), GFP_KERNEL);
 
 	return NULL;
 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [PATCH] treewide: fix semicolon.cocci warnings
  2017-01-07  3:26 ` [PATCH] treewide: fix semicolon.cocci warnings kbuild test robot
@ 2017-01-07  9:23   ` Michal Hocko
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2017-01-07  9:23 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, linux-mm, Pablo Neira Ayuso, Patrick McHardy,
	Jozsef Kadlecsik, netfilter-devel, coreteam, netdev, linux-kernel

On Sat 07-01-17 11:26:42, Wu Fengguang wrote:
> net/netfilter/x_tables.c:716:59-60: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks, I will fold this into the original patch.

> ---
> 
>  x_tables.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/net/netfilter/x_tables.c
> +++ b/net/netfilter/x_tables.c
> @@ -713,7 +713,7 @@ EXPORT_SYMBOL(xt_check_entry_offsets);
>  unsigned int *xt_alloc_entry_offsets(unsigned int size)
>  {
>  	if (size < (SIZE_MAX / sizeof(unsigned int)))
> -		return kvmalloc(size * sizeof(unsigned int), GFP_KERNEL);;
> +		return kvmalloc(size * sizeof(unsigned int), GFP_KERNEL);
>  
>  	return NULL;
>  

-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2017-01-07  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201701071138.c1Bc7M2t%fengguang.wu@intel.com>
2017-01-07  3:26 ` [PATCH] treewide: fix semicolon.cocci warnings kbuild test robot
2017-01-07  9:23   ` Michal Hocko

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