Thread (20 messages) flat view 20 messages, 3 authors, 2016-06-20

Re: [PATCH v4 net-next v4 14/14] net: dsa: mv88e6xxx: abstract switch registers accesses

From: kbuild test robot <hidden>
Date: 2016-06-20 18:26:58
Also in: lkml

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':
quoted
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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help