Re: [PATCH] drivers/net/ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.4-rc3 next-20151203]

url:    https://github.com/0day-ci/linux/commits/michael-hennerich-analog-com/drivers-net-ieee802154-adf7242-Driver-for-ADF7242-MAC-IEEE802154/20151204-203347
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:277:0,
                    from include/linux/kernel.h:13,
                    from drivers/net/ieee802154/adf7242.c:9:
   drivers/net/ieee802154/adf7242.c: In function 'adf7242_rx':
>> drivers/net/ieee802154/adf7242.c:810:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
       "corrupted frame received len %d\n", len);
       ^
   include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> drivers/net/ieee802154/adf7242.c:809:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(&lp->spi->dev,
      ^
   drivers/net/ieee802154/adf7242.c:832:25: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t {aka long unsigned int}' [-Wformat=]
     dev_dbg(&lp->spi->dev, "%s: ret=%d len=%d lqi=%d rssi=%d\n",
                            ^
   include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
   drivers/net/ieee802154/adf7242.c:832:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(&lp->spi->dev, "%s: ret=%d len=%d lqi=%d rssi=%d\n",
     ^

vim +810 drivers/net/ieee802154/adf7242.c

   803	
   804		adf7242_read_reg(lp, 0, &len_u8);
   805	
   806		len = len_u8;
   807	
   808		if (!ieee802154_is_valid_psdu_len(len)) {
 > 809			dev_dbg(&lp->spi->dev,
 > 810				"corrupted frame received len %d\n", len);
   811			len = IEEE802154_MTU;
   812		}
   813	

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux