From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: Build failure in advansys driver - error: implicit declaration of function 'to_pci_dev' Date: Sun, 12 Aug 2007 05:54:26 -0600 Message-ID: <20070812115426.GB15394@parisc-linux.org> References: <200708120143.16728.jesper.juhl@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:53236 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934864AbXHLLy2 (ORCPT ); Sun, 12 Aug 2007 07:54:28 -0400 Content-Disposition: inline In-Reply-To: <200708120143.16728.jesper.juhl@gmail.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Jesper Juhl Cc: linux-scsi@vger.kernel.org, Linux Kernel Mailing List , Bob Frey 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."