Re: [PATCH] bsg: Fix build for CONFIG_BLOCK=n

From: Jens Axboe
Date: Wed Jul 25 2007 - 03:26:16 EST


On Wed, Jul 25 2007, Paul Mundt wrote:
> BLK_DEV_BSG was added outside of the if BLOCK check, which allows it to
> be enabled when CONFIG_BLOCK=n. This leads to many screenlengths of
> errors, starting with a parse error on the request_queue_t definition.
> Obviously this wasn't intended for CONFIG_BLOCK=n usage, so just move the
> option back in to the block.
>
> Caught with a randconfig on sh.
>
> Signed-off-by: Paul Mundt <lethal@xxxxxxxxxxxx>

That's definitely correct.

Acked-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

--
Jens Axboe

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