From patchwork Thu Feb 16 21:34:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9578401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A1F006049F for ; Thu, 16 Feb 2017 21:34:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95D102866E for ; Thu, 16 Feb 2017 21:34:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A5342866F; Thu, 16 Feb 2017 21:34:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F42B2862F for ; Thu, 16 Feb 2017 21:34:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933359AbdBPVeK (ORCPT ); Thu, 16 Feb 2017 16:34:10 -0500 Received: from mga11.intel.com ([192.55.52.93]:64002 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933079AbdBPVeJ (ORCPT ); Thu, 16 Feb 2017 16:34:09 -0500 Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2017 13:34:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,169,1484035200"; d="scan'208";a="66136585" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga005.fm.intel.com with ESMTP; 16 Feb 2017 13:34:07 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ceTiv-0000DZ-SB; Fri, 17 Feb 2017 05:36:21 +0800 Date: Fri, 17 Feb 2017 05:34:03 +0800 From: kbuild test robot To: Sagi Grimberg Cc: kbuild-all@01.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, target-devel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH] net/utils: fix semicolon.cocci warnings Message-ID: <20170216213400.GA47728@lkp-hsx03.lkp.intel.com> References: <201702170514.zqhVrek9%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1487267017-29904-2-git-send-email-sagi@grimberg.me> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP net/core/utils.c:388:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Sagi Grimberg Signed-off-by: Fengguang Wu --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/net/core/utils.c +++ b/net/core/utils.c @@ -385,7 +385,7 @@ int inet_pton_with_scope(struct net *net break; default: pr_err("unexpected address family %d\n", af); - }; + } return -EINVAL; }