[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.21.1805241133450.13830@math.ut.ee>
Date: Thu, 24 May 2018 11:34:26 +0300 (EEST)
From: Meelis Roos <mroos@...ux.ee>
To: Bjorn Helgaas <helgaas@...nel.org>
cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, sparclinux@...r.kernel.org
Subject: Re: [PATCH v1 0/4] sparc/PCI: VGA resource and other fixes
> [+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@...ux.ee)
Powered by blists - more mailing lists