Re: [yinghai:master 195/233] drivers/pci/xen-pcifront.c:397:2: error: 'res' undeclared

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

 



On Mon, Sep 17, 2012 at 9:32 PM, Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:
> Hi Yinghai,
>
> FYI, kernel build failed on
>
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git master
> head:   f4e430c2d5fae2ece93207e3e8d06b14d66fcbe4
> commit: b722843995da475accfde984ce41109938ab56e6 [195/233] PCI: Use for_each_res with xen pci
> config: x86_64-allmodconfig
>
> All related error/warning messages:
>
> drivers/pci/xen-pcifront.c: In function 'pcifront_claim_resource':
> drivers/pci/xen-pcifront.c:397:2: error: 'res' undeclared (first use in this function)
> drivers/pci/xen-pcifront.c:397:2: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +397 drivers/pci/xen-pcifront.c
>    392  {
>    393          struct pcifront_device *pdev = data;
>    394          int i;
>    395          struct resource *r;
>    396
>  > 397          for_each_pci_resource(dev, res, i, PCI_ALL_RES) {

thanks. for the reporting, should be r instead of res.

Yinghai
--
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