Re: Build failure in advansys driver - error: implicit declaration of function 'to_pci_dev'
From: Matthew Wilcox
Date: Sun Aug 12 2007 - 07:54:43 EST
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.
--
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
-
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/