public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c
@ 2001-05-21 15:18 Jan-Benedict Glaw
  2001-05-21 18:39 ` Jeff Garzik
  2001-05-21 20:19 ` Michal Jaegermann
  0 siblings, 2 replies; 3+ messages in thread
From: Jan-Benedict Glaw @ 2001-05-21 15:18 UTC (permalink / raw)
  To: linux-kernel

Hi!

Kernel 2.4.5-pre[34] don't compile on Alpha:

In incluse/asm-alpha/pci.h (include during compile of
arch/alpha/kernel/setup.c), there is

    150 static __inline__ int pci_controller_num(struct pci_dev *pdev)
    151 {
    152         struct pci_controller *hose = pdev->sysdata;
    153 
    154         if (hose != NULL)
    155                 return hose->index;
    156 
    157         return -ENXIO;
    158 }

which breaks on line 152:
In file included from arch/alpha/kernel/setup.c:52:
/usr/src/packages/linux-2.4.5-pre4/include/asm/pci.h: In function `pci_controller_num':
/usr/src/packages/linux-2.4.5-pre4/include/asm/pci.h:152: dereferencing pointer to incomplete type
make: *** [arch/alpha/kernel/setup.o] Error 1

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-172-7608481 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-21 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-21 15:18 Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c Jan-Benedict Glaw
2001-05-21 18:39 ` Jeff Garzik
2001-05-21 20:19 ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox