Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757961AbYGPN3V (ORCPT ); Wed, 16 Jul 2008 09:29:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756009AbYGPN3L (ORCPT ); Wed, 16 Jul 2008 09:29:11 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:44352 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755957AbYGPN3K (ORCPT ); Wed, 16 Jul 2008 09:29:10 -0400 Date: Wed, 16 Jul 2008 07:28:48 -0600 From: Matthew Wilcox To: Ingo Molnar Cc: James Bottomley , Andrew Morton , Linus Torvalds , linux-scsi , linux-kernel Subject: Re: [build fix] Re: [GIT PATCH] SCSI part 1 Message-ID: <20080716132848.GB25255@parisc-linux.org> References: <1216138543.3312.60.camel@localhost.localdomain> <20080716101634.GA8494@elte.hu> <20080716103337.GA22931@elte.hu> <20080716131543.GA3673@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080716131543.GA3673@elte.hu> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1112 Lines: 27 On Wed, Jul 16, 2008 at 03:15:43PM +0200, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > scsi_cmnd.h depends on symbols defined in blkdev.h. The fix is to > > > include blkdev.h as well. > > > > that wont work - a better replacement fix is the one below. The > > problem is that scsi.h is included even on !CONFIG_BLOCK and then the > > BLK_MAX_CDB symbol is meaningless. > > -v3 .. the new methods need to be under #ifdef CONFIG_BLOCK as well. > Note my patch is just a quick RFC, this can probably be done cleaner. Maybe we should just #ifdef CONFIG_BLOCK the inclusion of scsi/*.h in fs/compat_ioctl.h? -- Intel are signing my paycheques ... these opinions are still mine "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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/