lkml.org 
[lkml]   [2008]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [build fix] Re: [GIT PATCH] SCSI part 1
On Wed, Jul 16, 2008 at 03:15:43PM +0200, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@elte.hu> 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."


\
 
 \ /
  Last update: 2008-07-16 15:31    [W:0.054 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site