netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wan Junjie <junjie.wan@inceptio.ai>,
	Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	"junjie.wan" <junjie.wan@inceptio.ai>
Subject: Re: [PATCH] dpaa2-switch: fix flooding domain among multiple vlans
Date: Sat, 31 Aug 2024 05:37:31 +0800	[thread overview]
Message-ID: <202408310505.RxA0GVcf-lkp@intel.com> (raw)
In-Reply-To: <20240827110855.3186502-1-junjie.wan@inceptio.ai>

Hi Wan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.11-rc5 next-20240830]
[cannot apply to horms-ipvs/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Wan-Junjie/dpaa2-switch-fix-flooding-domain-among-multiple-vlans/20240827-191121
base:   linus/master
patch link:    https://lore.kernel.org/r/20240827110855.3186502-1-junjie.wan%40inceptio.ai
patch subject: [PATCH] dpaa2-switch: fix flooding domain among multiple vlans
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240831/202408310505.RxA0GVcf-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408310505.RxA0GVcf-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408310505.RxA0GVcf-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c:179:11: warning: unused variable 'i' [-Wunused-variable]
     179 |         int err, i;
         |                  ^
>> drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c:1784:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
    1784 |                 return err;
         |                 ^
   drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c:1782:2: note: previous statement is here
    1782 |         if (err)
         |         ^
   2 warnings generated.


vim +/if +1784 drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c

  1766	
  1767	static int dpaa2_switch_port_flood(struct ethsw_port_priv *port_priv,
  1768					   struct switchdev_brport_flags flags)
  1769	{
  1770		struct ethsw_core *ethsw = port_priv->ethsw_data;
  1771		struct net_device *netdev = port_priv->netdev;
  1772		int err;
  1773	
  1774		if (flags.mask & BR_BCAST_FLOOD)
  1775			port_priv->bcast_flood = !!(flags.val & BR_BCAST_FLOOD);
  1776	
  1777		if (flags.mask & BR_FLOOD)
  1778			port_priv->ucast_flood = !!(flags.val & BR_FLOOD);
  1779	
  1780		/* Recreate the egress flood domain of every vlan domain */
  1781		err = vlan_for_each(netdev, dpaa2_switch_port_flood_vlan, netdev);
  1782		if (err)
  1783			netdev_err(netdev, "Unable to restore vlan flood err (%d)\n", err);
> 1784			return err;
  1785	
  1786		return dpaa2_switch_fdb_set_egress_flood(ethsw, port_priv->fdb->fdb_id);
  1787	}
  1788	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      parent reply	other threads:[~2024-08-30 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27 11:08 [PATCH] dpaa2-switch: fix flooding domain among multiple vlans Wan Junjie
2024-08-27 21:57 ` Jakub Kicinski
2024-08-29 18:14 ` kernel test robot
2024-08-30 21:37 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408310505.RxA0GVcf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=edumazet@google.com \
    --cc=ioana.ciornei@nxp.com \
    --cc=junjie.wan@inceptio.ai \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).