All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 8715/11220] drivers/net/dsa/mv88e6xxx/chip.c:2752:8: error: too many arguments to function 'mv88e6xxx_g2_atu_stats_get'
@ 2019-11-14 13:37 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-14 13:37 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4e8f108c3af2d6922a64df9f3d3d488c74f6009d
commit: e0c69ca7dfbbaaa6f9167c65f5cde740557aaed9 [8715/11220] net: dsa: mv88e6xxx: Add ATU occupancy via devlink resources
config: i386-randconfig-h001-20191114 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout e0c69ca7dfbbaaa6f9167c65f5cde740557aaed9
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

Note: the linux-next/master HEAD 4e8f108c3af2d6922a64df9f3d3d488c74f6009d builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   drivers/net/dsa/mv88e6xxx/chip.c: In function 'mv88e6xxx_devlink_atu_bin_get':
>> drivers/net/dsa/mv88e6xxx/chip.c:2752:8: error: too many arguments to function 'mv88e6xxx_g2_atu_stats_get'
     err = mv88e6xxx_g2_atu_stats_get(chip, &occupancy);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/net/dsa/mv88e6xxx/chip.c:36:0:
   drivers/net/dsa/mv88e6xxx/global2.h:535:19: note: declared here
    static inline int mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip)
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/mv88e6xxx_g2_atu_stats_get +2752 drivers/net/dsa/mv88e6xxx/chip.c

  2730	
  2731	static u64 mv88e6xxx_devlink_atu_bin_get(struct mv88e6xxx_chip *chip,
  2732						 u16 bin)
  2733	{
  2734		u16 occupancy = 0;
  2735		int err;
  2736	
  2737		mv88e6xxx_reg_lock(chip);
  2738	
  2739		err = mv88e6xxx_g2_atu_stats_set(chip, MV88E6XXX_G2_ATU_STATS_MODE_ALL,
  2740						 bin);
  2741		if (err) {
  2742			dev_err(chip->dev, "failed to set ATU stats kind/bin\n");
  2743			goto unlock;
  2744		}
  2745	
  2746		err = mv88e6xxx_g1_atu_get_next(chip, 0);
  2747		if (err) {
  2748			dev_err(chip->dev, "failed to perform ATU get next\n");
  2749			goto unlock;
  2750		}
  2751	
> 2752		err = mv88e6xxx_g2_atu_stats_get(chip, &occupancy);
  2753		if (err) {
  2754			dev_err(chip->dev, "failed to get ATU stats\n");
  2755			goto unlock;
  2756		}
  2757	
  2758	unlock:
  2759		mv88e6xxx_reg_unlock(chip);
  2760	
  2761		return occupancy;
  2762	}
  2763	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34109 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-14 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 13:37 [linux-next:master 8715/11220] drivers/net/dsa/mv88e6xxx/chip.c:2752:8: error: too many arguments to function 'mv88e6xxx_g2_atu_stats_get' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.