lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 21 Jun 2016 02:25:50 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com,
	"David S. Miller" <davem@...emloft.net>,
	Andrew Lunn <andrew@...n.ch>,
	Florian Fainelli <f.fainelli@...il.com>,
	Ben Dooks <ben.dooks@...ethink.co.uk>,
	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
	Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Subject: Re: [PATCH v4 net-next v4 14/14] net: dsa: mv88e6xxx: abstract
 switch registers accesses

Hi,

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-mv88e6xxx-probe-compatible/20160621-020115
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   drivers/net/dsa/mv88e6xxx.c: In function 'mv88e6xxx_read':
>> drivers/net/dsa/mv88e6xxx.c:195:2: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u16 *' [-Wformat]

vim +195 drivers/net/dsa/mv88e6xxx.c

   179	static const struct mv88e6xxx_ops mv88e6xxx_smi_multi_chip_ops = {
   180		.read = mv88e6xxx_smi_multi_chip_read,
   181		.write = mv88e6xxx_smi_multi_chip_write,
   182	};
   183	
   184	static int mv88e6xxx_read(struct mv88e6xxx_priv_state *ps,
   185				  int addr, int reg, u16 *val)
   186	{
   187		int err;
   188	
   189		assert_reg_lock(ps);
   190	
   191		err = mv88e6xxx_smi_read(ps, addr, reg, val);
   192		if (err)
   193			return err;
   194	
 > 195		dev_dbg(ps->dev, "<- addr: 0x%.2x reg: 0x%.2x val: 0x%.4x\n",
   196			addr, reg, val);
   197	
   198		return 0;
   199	}
   200	
   201	static int mv88e6xxx_write(struct mv88e6xxx_priv_state *ps,
   202				   int addr, int reg, u16 val)
   203	{

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (44854 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ