From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934961AbXHLLyl (ORCPT ); Sun, 12 Aug 2007 07:54:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934878AbXHLLy3 (ORCPT ); Sun, 12 Aug 2007 07:54:29 -0400 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 Date: Sun, 12 Aug 2007 05:54:26 -0600 From: Matthew Wilcox To: Jesper Juhl Cc: linux-scsi@vger.kernel.org, Linux Kernel Mailing List , Bob Frey Subject: Re: Build failure in advansys driver - error: implicit declaration of function 'to_pci_dev' 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 Content-Disposition: inline In-Reply-To: <200708120143.16728.jesper.juhl@gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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."