From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f72.google.com (mail-wm0-f72.google.com [74.125.82.72]) by kanga.kvack.org (Postfix) with ESMTP id 3D9A86B025E for ; Sat, 7 Jan 2017 04:23:04 -0500 (EST) Received: by mail-wm0-f72.google.com with SMTP id s63so6966055wms.7 for ; Sat, 07 Jan 2017 01:23:04 -0800 (PST) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id e70si4794618wmc.129.2017.01.07.01.23.02 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 07 Jan 2017 01:23:03 -0800 (PST) Date: Sat, 7 Jan 2017 10:23:00 +0100 From: Michal Hocko Subject: Re: [PATCH] treewide: fix semicolon.cocci warnings Message-ID: <20170107092259.GB5047@dhcp22.suse.cz> References: <201701071138.c1Bc7M2t%fengguang.wu@intel.com> <20170107032642.GA130314@lkp-hsx03.lkp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170107032642.GA130314@lkp-hsx03.lkp.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: kbuild test robot Cc: kbuild-all@01.org, linux-mm@kvack.org, Pablo Neira Ayuso , Patrick McHardy , Jozsef Kadlecsik , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org 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 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: email@kvack.org