public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel•com>
To: "Aryan Srivastava" <aryan.srivastava@alliedtelesis•co.nz>,
	"Andrew Lunn" <andrew@lunn•ch>, "Marek Behún" <kabel@kernel•org>
Cc: oe-kbuild-all@lists•linux.dev,
	Aryan Srivastava <aryan.srivastava@alliedtelesis•co.nz>,
	Florian Fainelli <f.fainelli@gmail•com>,
	Vladimir Oltean <olteanv@gmail•com>,
	Eric Dumazet <edumazet@google•com>,
	Jakub Kicinski <kuba@kernel•org>, Paolo Abeni <pabeni@redhat•com>,
	netdev@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: Re: [PATCH v1] net: dsa: mv88e6xxx: Add FID map cache
Date: Thu, 20 Jun 2024 22:40:28 +0800	[thread overview]
Message-ID: <202406202033.cdjd66Gh-lkp@intel.com> (raw)
In-Reply-To: <20240620002826.213013-1-aryan.srivastava@alliedtelesis.co.nz>

Hi Aryan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]
[also build test WARNING on net/main linus/master v6.10-rc4 next-20240619]
[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/Aryan-Srivastava/net-dsa-mv88e6xxx-Add-FID-map-cache/20240620-083100
base:   net-next/main
patch link:    https://lore.kernel.org/r/20240620002826.213013-1-aryan.srivastava%40alliedtelesis.co.nz
patch subject: [PATCH v1] net: dsa: mv88e6xxx: Add FID map cache
config: arm-randconfig-003-20240620 (https://download.01.org/0day-ci/archive/20240620/202406202033.cdjd66Gh-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406202033.cdjd66Gh-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/202406202033.cdjd66Gh-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/dsa/mv88e6xxx/chip.c: In function 'mv88e6xxx_atu_new':
>> drivers/net/dsa/mv88e6xxx/chip.c:1960:13: warning: unused variable 'err' [-Wunused-variable]
    1960 |         int err;
         |             ^~~


vim +/err +1960 drivers/net/dsa/mv88e6xxx/chip.c

  1957	
  1958	static int mv88e6xxx_atu_new(struct mv88e6xxx_chip *chip, u16 *fid)
  1959	{
> 1960		int err;
  1961	
  1962		*fid = find_first_zero_bit(chip->fid_bitmap, MV88E6XXX_N_FID);
  1963		if (unlikely(*fid >= mv88e6xxx_num_databases(chip)))
  1964			return -ENOSPC;
  1965	
  1966		/* Clear the database */
  1967		return mv88e6xxx_g1_atu_flush(chip, *fid, true);
  1968	}
  1969	

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

      parent reply	other threads:[~2024-06-20 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20  0:28 [PATCH v1] net: dsa: mv88e6xxx: Add FID map cache Aryan Srivastava
2024-06-20  1:41 ` Jakub Kicinski
2024-06-20  4:57   ` Aryan Srivastava
2024-06-20 14:40 ` 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=202406202033.cdjd66Gh-lkp@intel.com \
    --to=lkp@intel$(echo .)com \
    --cc=andrew@lunn$(echo .)ch \
    --cc=aryan.srivastava@alliedtelesis$(echo .)co.nz \
    --cc=edumazet@google$(echo .)com \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=kabel@kernel$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=oe-kbuild-all@lists$(echo .)linux.dev \
    --cc=olteanv@gmail$(echo .)com \
    --cc=pabeni@redhat$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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