Re: [pci:next 15/20] drivers/pci/host/pcie-altera.c:496:53: sparse: incompatible types for operation (&)

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

 



On Sat, May 19, 2018 at 03:42:27AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
> head:   f8d3ac43d8cd4cfba337a50794c26c7ca89d86ac
> commit: 927da40afdbd6a5fdd31eab6e9aa655dee1f99a4 [15/20] Merge branch 'lorenzo/pci/host/misc'
> reproduce:
>         # apt-get install sparse
>         git checkout 927da40afdbd6a5fdd31eab6e9aa655dee1f99a4
>         make ARCH=x86_64 allmodconfig
>         make C=1 CF=-D__CHECK_ENDIAN__
> 
> 
> sparse warnings: (new ones prefixed by >>)
> 
> >> drivers/pci/host/pcie-altera.c:496:53: sparse: incompatible types for operation (&)

I think I fixed this; it was missing a comma at the end of the first line:

        err = devm_of_pci_get_host_bridge_resources(dev, 0, 0xff
                                                    &pcie->resources, NULL);

This error was in the original patch, so I'm not sure if I forgot to push
the pci/resource branch or if kbuild didn't test it for some reason.

>    /kbuild/src/sparse/drivers/pci/host/pcie-rockchip-host.c:996:15: sparse: undefined identifier 'devm_of_pci_get_host_bridge_resources'

I'm confused about this one because pcie-rockchip-host.c doesn't even exist
in 927da40afdbd, so the steps to reproduce must not be quite right.

But I'm sure I screwed up a conflict resolution somewhere, so I'll find that,
too.

Bjorn



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux