lkml.org 
[lkml]   [2018]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linux.ee)

\
 
 \ /
  Last update: 2018-05-24 10:53    [W:0.079 / U:3.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site