Re: [geert-renesas-drivers:topic/renesas-bsp-rebase-v6.1 17/22] drivers/net/can/rcar/rcar_canfd.c:1852:59: sparse: sparse: Using plain integer as NULL pointer

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

 



Hi Kernel Test Robot,

On Fri, Jan 19, 2024 at 2:21 PM kernel test robot <lkp@xxxxxxxxx> wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-bsp-rebase-v6.1
> head:   f23d103b0a307c5339994c410f09ac77b374629a
> commit: a7e448b5460131be0eab090896030c6259b32375 [17/22] can: rcar_canfd: Add transceiver support
> config: powerpc-randconfig-r113-20240119 (https://download.01.org/0day-ci/archive/20240119/202401192114.sNB5eWkI-lkp@xxxxxxxxx/config)
> compiler: powerpc-linux-gcc (GCC) 13.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20240119/202401192114.sNB5eWkI-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202401192114.sNB5eWkI-lkp@xxxxxxxxx/
>
> sparse warnings: (new ones prefixed by >>)
> >> drivers/net/can/rcar/rcar_canfd.c:1852:59: sparse: sparse: Using plain integer as NULL pointer

Thanks for your report!

> vim +1852 drivers/net/can/rcar/rcar_canfd.c
>
>   1849
>   1850  static int rcar_canfd_probe(struct platform_device *pdev)
>   1851  {
> > 1852          struct phy *transceivers[RCANFD_NUM_CHANNELS] = { 0, };

This is fixed by commit 8e85d550c127d8c5 ("can: rcar_canfd:
rcar_canfd_probe(): fix plain integer in transceivers[] init") in
v6.4-rc1 and later.

As this issue was reported in an old stale branch, I removed that branch.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux