Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp497609iog; Fri, 17 Jun 2022 07:35:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1veCeNlAD9idj9udxELQkcfC62rtS882CUw51gZ5a7FU5gIt6K27yA7ibjqNzmcHUDYIS2t X-Received: by 2002:a05:6402:23a2:b0:42d:d5f1:d470 with SMTP id j34-20020a05640223a200b0042dd5f1d470mr3794786eda.365.1655476510464; Fri, 17 Jun 2022 07:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655476510; cv=none; d=google.com; s=arc-20160816; b=KAhpCyWdS9PlS8jTCt8uDvjA3X+Kdkiupjzsvo5SfvY8CP25yZgyyau3oCj2WGkBW3 wYBpI7ndNuIe+KGg5UtS6n3zcDIOjLlR7zZBfvzr0XNUK4rFN+p4PSgTOn5GNhKDVnoW lKyPwdWg3FlsNMOLwXjpmvK0bs0MIrxeU0rdXeVpYZOXlo5vG3W4AXSxsVKU8FpejAE4 MzeAJL1c8NDAyWn+EDX8bpwixsZW3hvUXK5ErGLn5UBURPf0xqMQL0+qTospiC9iufR9 S9fxRvPB9owbe8RIlUBZMKAqkCk8dzdIM5HqRVaPw44SkRBWAm0jebl7/8CsPWa4Cipo MDmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+SytQT+ObOKodpM1DLmlKOmCalwBFg+krdckmOZDUW8=; b=on34ohX4Fn6fvtgm1vjqIVHWD/fZLJmfzaRiCH13cd+vTDfGnwpDEcvQADLaA7O1SZ +lqXzu+WbjoLTBsLiCToIO+Nnb/Xuq8EBdmqZISlAK/dqmK5+l6dXpZKkswEs7EhyerM v9fjFFRV1AnCy4S0Yy1QcTnQX8KktD+J8mrpC7N6/RC4WV1iokQPOkqy9vvTMCh8l3L0 Y1qdBpDDpXKOq7bD/Sz4QqA9oQxGajkIf+Ue75xhqNR8jMqHVy8JIeR+Um5Pqgo0bMzU at+6zN8na+GMJ8h7sLiz62Wz/0XhYNxVkC+r1j8VrMgnRMRDirJO61dQ7yaPUPXuczOi w/ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EnSS1Tco; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga12-20020a1709070c0c00b00711f20051f2si71413ejc.697.2022.06.17.07.34.43; Fri, 17 Jun 2022 07:35:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EnSS1Tco; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380876AbiFQOBu (ORCPT + 99 others); Fri, 17 Jun 2022 10:01:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231490AbiFQOBs (ORCPT ); Fri, 17 Jun 2022 10:01:48 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85E9149C95; Fri, 17 Jun 2022 07:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655474507; x=1687010507; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iVg+fkchqNy0NLwD7C0/R3ieqtSh8cMlhM0PEw8K7Bs=; b=EnSS1Tcocn2SKfFXnKk9d8pvStGKzPC6MvGBoMvQBq0hhW/AB6A9nxCd LH4oXPYToYrLtXDFCOjcLvPoXD/sMQN7NxkHkpDYKk4bu2FbRobSQrso8 4EsR4Q6fZ7s/AV8BBesXDG1SW6LER3DNzaB9jAGIEV8X89gqQ2OInFft9 UfGBO+nBk1/CeYPrjGB7qe1yEtPtt4fmSq9p0iWrtAQG86HYKXKYDrSLJ JPl+CUaXBKltCHtEIwG8fnDrl9sZALOfSo5Sc/ab20yJx6Omlri42B5pw PNss2O4bpuEyzzJaez+gKEq0BpvXqrV1qEhGuyyo7BO1zXyfz4wSituVg A==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="341183723" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="341183723" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2022 07:01:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="578005427" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 17 Jun 2022 07:01:43 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o2CXe-000PUP-Rr; Fri, 17 Jun 2022 14:01:42 +0000 Date: Fri, 17 Jun 2022 22:01:27 +0800 From: kernel test robot To: Oleksandr Mazur , netdev@vger.kernel.org, Taras Chornyi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Oleksandr Mazur , Yevhen Orlov Subject: Re: [PATCH V2 net-next 4/4] net: marvell: prestera: implement software MDB entries allocation Message-ID: <202206172146.gg9GL71Z-lkp@intel.com> References: <20220617101520.19794-5-oleksandr.mazur@plvision.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220617101520.19794-5-oleksandr.mazur@plvision.eu> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oleksandr, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Oleksandr-Mazur/net-marvell-prestera-add-MDB-offloading-support/20220617-181737 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 982c3e2948d6a30d34f186e3b7d592a33147719b config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20220617/202206172146.gg9GL71Z-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/e58f821bf9b04f502947d46edce5e694afba26ca git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Oleksandr-Mazur/net-marvell-prestera-add-MDB-offloading-support/20220617-181737 git checkout e58f821bf9b04f502947d46edce5e694afba26ca # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/net/ethernet/marvell/prestera/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/net/ethernet/marvell/prestera/prestera_switchdev.c: In function 'prestera_mdb_flush_bridge_port': >> drivers/net/ethernet/marvell/prestera/prestera_switchdev.c:1776:36: warning: variable 'mdb' set but not used [-Wunused-but-set-variable] 1776 | struct prestera_mdb_entry *mdb; | ^~~ vim +/mdb +1776 drivers/net/ethernet/marvell/prestera/prestera_switchdev.c 1769 1770 static void 1771 prestera_mdb_flush_bridge_port(struct prestera_bridge_port *br_port) 1772 { 1773 struct prestera_br_mdb_port *br_mdb_port, *tmp_port; 1774 struct prestera_br_mdb_entry *br_mdb, *br_mdb_tmp; 1775 struct prestera_bridge *br_dev = br_port->bridge; > 1776 struct prestera_mdb_entry *mdb; 1777 1778 list_for_each_entry_safe(br_mdb, br_mdb_tmp, &br_dev->br_mdb_entry_list, 1779 br_mdb_entry_node) { 1780 mdb = br_mdb->mdb; 1781 1782 list_for_each_entry_safe(br_mdb_port, tmp_port, 1783 &br_mdb->br_mdb_port_list, 1784 br_mdb_port_node) { 1785 prestera_mdb_port_del(br_mdb->mdb, 1786 br_mdb_port->br_port->dev); 1787 prestera_br_mdb_port_del(br_mdb, br_mdb_port->br_port); 1788 } 1789 prestera_br_mdb_entry_put(br_mdb); 1790 } 1791 } 1792 -- 0-DAY CI Kernel Test Service https://01.org/lkp