Re: [PATCH v1 0/4] sparc/PCI: VGA resource and other fixes

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

 



> [+cc sparclinux, sorry I missed this first time around]

> >       sparc/PCI: Use dev_printk() when possible

This patch causes compile errors for me:

  CC      arch/sparc/kernel/pci.o
In file included from ./include/linux/pci.h:31:0,
                 from arch/sparc/kernel/pci.c:18:
arch/sparc/kernel/pci.c: In function ʽpcibios_enable_deviceʼ:
arch/sparc/kernel/pci.c:754:53: error: ʽold_cmdʼ undeclared (first use in this function)
   pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd);
                                                     ^
./include/linux/device.h:1384:58: note: in definition of macro ʽdev_infoʼ
 #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                          ^
arch/sparc/kernel/pci.c:754:3: note: in expansion of macro ʽpci_infoʼ
   pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd);
   ^
arch/sparc/kernel/pci.c:754:53: note: each undeclared identifier is reported only once for each function it appears in
   pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd);
                                                     ^
./include/linux/device.h:1384:58: note: in definition of macro ʽdev_infoʼ
 #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                          ^
arch/sparc/kernel/pci.c:754:3: note: in expansion of macro ʽpci_infoʼ
   pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd);
   ^
scripts/Makefile.build:312: recipe for target 'arch/sparc/kernel/pci.o' failed


-- 
Meelis Roos (mroos@xxxxxxxx)



[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