Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2535939imu; Tue, 6 Nov 2018 16:53:04 -0800 (PST) X-Google-Smtp-Source: AJdET5eWzzcbBikah8zUm2iRTGlZ0K6ez+ZapFxxU4/lhBqUNilhMMCVpYsgCNAhtbFGRhTtiOZH X-Received: by 2002:a63:c70a:: with SMTP id n10-v6mr25282380pgg.431.1541551984752; Tue, 06 Nov 2018 16:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541551984; cv=none; d=google.com; s=arc-20160816; b=SWdIyOaRUYKZF1EdVqkSrmlcvSCVgXZ77MBMOutsPNtLU5yOnEYoxh7K80/mTlWGhP JBbJStqwo0ALIgtvb1z3U6rCooDdfr0dNyQKV4yJif8ipsATP5YvmQHfEeKZmomahbqn yMrgyiXHUnbInerufpvyny3QVtY0YskcN81eUZ1wAU6LKuQTXud+tsxaPK5eaOuBZJil D5ySFPSqWFkQe2KrbGYkzM1sMHe8zcMxnbDnTbfmZtSFxkz1rkqj3/HlWGwXdbNA6b7y NJAP+hZ8usiGkMmkIo7Jd57YsQ3otoLNd/6ueyND/oW6WUt8NVmRdLWMmLhTJhH1R7yt Q57w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pz83+4+B0Y000fFmXQcVxPlhR+MzHoXeZgRD8TgR8i8=; b=F4nnvH1wK99npF6MZ7r+g6ExCGZHzPbgz3wZoW1wIsUemTIq+bBH0pl34Q7f34EEvz 2PgK2tzGKg84wYEi2ckFRKaqk6YIB12Bz8ZdYWO0cWZN2kygd8hlrNOnJm2PcCaHUUmy dQD9ORSf/aQ4sckWU15Oz2/hoCa40oZbUcJ5DOjylCjheVe2cITiM93U7C8yn7MCXRnz i3Z8N6iYaAs6BhCFZez8t/tWHcB/IDn6EaOM4MwhUkhNCOQW2M3+AC99otGbnfpF43MI gPIyEuFBxoNl66ZB63V5nOyw4veR65FukCDw32eJuFrJYTlqUQHWSjYq9ELO1dR/f0GU AJqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e39-v6si41837697plg.366.2018.11.06.16.52.50; Tue, 06 Nov 2018 16:53:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388999AbeKGKTb (ORCPT + 99 others); Wed, 7 Nov 2018 05:19:31 -0500 Received: from mga14.intel.com ([192.55.52.115]:54233 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388401AbeKGKTa (ORCPT ); Wed, 7 Nov 2018 05:19:30 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 16:51:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,473,1534834800"; d="scan'208";a="106494257" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 06 Nov 2018 16:51:30 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gKC4A-000ES4-07; Wed, 07 Nov 2018 08:51:30 +0800 Date: Wed, 7 Nov 2018 08:50:34 +0800 From: kbuild test robot To: Florian Fainelli Cc: kbuild-all@01.org, netdev@vger.kernel.org, Andrew Lunn , Vivien Didelot , linux-kernel@vger.kernel.org Subject: [PATCH] net: dsa: bcm_sf2: fix semicolon.cocci warnings Message-ID: <20181107005034.GA41962@lkp-ivb-ep02> References: <201811070831.tDyF0pxQ%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201811070831.tDyF0pxQ%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot drivers/net/dsa/bcm_sf2_cfp.c:1168:2-3: Unneeded semicolon drivers/net/dsa/bcm_sf2_cfp.c:532:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: ae7a5aff783c ("net: dsa: bcm_sf2: Keep copy of inserted rules") CC: Florian Fainelli Signed-off-by: kbuild test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 5882d526d887e42ead4014d79620e5a8aa741151 commit: ae7a5aff783c79d5ca87867df84b08c43447159b [8/13] net: dsa: bcm_sf2: Keep copy of inserted rules bcm_sf2_cfp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/dsa/bcm_sf2_cfp.c +++ b/drivers/net/dsa/bcm_sf2_cfp.c @@ -529,7 +529,7 @@ static struct cfp_rule *bcm_sf2_cfp_rule list_for_each_entry(rule, &priv->cfp.rules_list, next) { if (rule->port == port && rule->fs.location == location) break; - }; + } return rule; } @@ -1165,7 +1165,7 @@ int bcm_sf2_cfp_resume(struct dsa_switch dev_err(ds->dev, "failed to restore rule\n"); return ret; } - }; + } return ret; }