Re: [mkl-can-next:testing 5/6] drivers/net/can/flexcan.c:633:29: sparse: expression using sizeof(void)

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

 



On 08/08/2018 03:47 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing
> head:   90e9dec4c7e53c3420fbc3c3b5a0204fff729907
> commit: 394975d07b72243e5528674e20c80d3bb39cefa7 [5/6] net: can: flexcan: enable flexcan for all architectures
> reproduce:
>         # apt-get install sparse
>         git checkout 394975d07b72243e5528674e20c80d3bb39cefa7
>         make ARCH=x86_64 allmodconfig
>         make C=1 CF=-D__CHECK_ENDIAN__
> 
> 
> sparse warnings: (new ones prefixed by >>)
> 
>>> drivers/net/can/flexcan.c:633:29: sparse: expression using sizeof(void)
>>> drivers/net/can/flexcan.c:633:29: sparse: expression using sizeof(void)
>    drivers/net/can/flexcan.c:709:23: sparse: expression using sizeof(void)

I think that's a false positive. It should be fixed by updating sparse -
or applying a patch to sparse and build it manually :(

https://lkml.org/lkml/2018/4/21/40

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