Re: [PATCH 17/17] BLOCK: Make it possible to disable the block layer [try #2]

From: David Howells
Date: Tue Aug 29 2006 - 08:20:36 EST


Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> Same as above. USB_STORAGE already selects scsi so it shouldn't need
> to depend on block.

Ah, you've got it the wrong way round.

Because USB_STORAGE _selects_ SCSI rather than depending on it, even if SCSI
is disabled, USB_STORAGE can be enabled, and that turns on CONFIG_SCSI, even
if not all of its dependencies are available.

Run "make allyesconfig" and then try to turn off CONFIG_SCSI without this...

David
-
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/