public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-kernel@vger.kernel.org
Subject: Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c
Date: Mon, 21 May 2001 17:18:55 +0200	[thread overview]
Message-ID: <20010521171854.A4121@lug-owl.de> (raw)

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)

             reply	other threads:[~2001-05-21 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-21 15:18 Jan-Benedict Glaw [this message]
2001-05-21 18:39 ` Compile fails an Alpha: include/asm/pci.h included from arch/alpha/kernel/setup.c Jeff Garzik
2001-05-21 20:19 ` Michal Jaegermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010521171854.A4121@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox