Re: [mkl-can-next:j1939-individual 536/543] net/can/j1939/socket.c:793:73: warning: format '%i' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}'

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

 



On 4/4/19 2:10 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git j1939-individual
> head:   e376317fe76da7c479d2d212717d3bd1fd3435e1
> commit: bdc19f3b25de4b5b922ceb3e7b61e8371bd7b86d [536/543] j1939: socket: add non blocking ETP send support
> config: sparc64-allyesconfig (attached as .config)
> compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout bdc19f3b25de4b5b922ceb3e7b61e8371bd7b86d
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.2.0 make.cross ARCH=sparc64 
> 
> All warnings (new ones prefixed by >>):
> 
>    net/can/j1939/socket.c: In function 'j1939_sk_send_multi':
>>> net/can/j1939/socket.c:793:73: warning: format '%i' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
>        netdev_warn(priv->ndev, "no error found and not completely queued?! %i\n", todo_size);
>                                                                            ~^
>                                                                            %li

Fixed.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux