Re: [pci:pci:bjorn-cleanup-remove 16/16] drivers/parisc/dino.c:598:3: error: implicit declaration of function 'pci_dev_b'

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

 



On Sun, Aug 19, 2012 at 5:54 AM, Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:
> Hi Bjorn,
>
> FYI, kernel build failed on
>
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/bjorn-cleanup-remove
> head:   f757bd1fe5535350c50058bf999f437cb9106d52
> commit: f757bd1fe5535350c50058bf999f437cb9106d52 [16/16] PCI: Remove unused pci_dev_b()
> config: parisc-defconfig (attached as .config)
>
> All related error/warning messages:
>
> drivers/parisc/dino.c: In function 'dino_fixup_bus':
> drivers/parisc/dino.c:598:3: error: implicit declaration of function 'pci_dev_b' [-Werror=implicit-function-declaration]
> drivers/parisc/dino.c:598:7: warning: assignment makes pointer from integer without a cast [enabled by default]
> cc1: some warnings being treated as errors
>
> vim +598 drivers/parisc/dino.c
>    595
>    596
>    597          list_for_each(ln, &bus->devices) {
>  > 598                  dev = pci_dev_b(ln);
>    599                  if (is_card_dino(&dino_dev->hba.dev->id))
>    600                          dino_card_fixup(dev);
>    601

Fixed.

Thanks a lot for finding this!  This is an awesome service -- I hadn't
even put it into "next" yet, so I had no idea you'd even look at it.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux