Re: Build failure in advansys driver - error: implicit declaration of function 'to_pci_dev'

From: Jesper Juhl
Date: Sun Aug 12 2007 - 13:00:25 EST


On 12/08/07, Matthew Wilcox <matthew@xxxxxx> wrote:
> On Sun, Aug 12, 2007 at 01:43:16AM +0200, Jesper Juhl wrote:
> > Trying to build current Linus git tree (head at
> > ac07860264bd2b18834d3fa3be47032115524cea) using the attached config
> > file (generated by 'make randconfig') the build fails for me with :
> >
> > ...
> > CC drivers/scsi/advansys.o
> > drivers/scsi/advansys.c:794:2: warning: #warning this driver is still not properly converted to the DMA API
> > drivers/scsi/advansys.c: In function 'advansys_board_found':
> > drivers/scsi/advansys.c:17781: error: implicit declaration of function 'to_pci_dev'
>
> I'm sorry that linux-scsi is a write-only list for you, but this error
> has been reported at least twice already, and a more polite response was
> received by each of those reporters.
>
I know I should have searched the archives, but it was late at night
and I just wanted to get the problem reported so I didn't forget about
it, so I didn't. Better it gets reported a few times than not at
all...

Next time I'll just leave it for the next day to do the archive search
and hope I don't forget about it.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/