[PATCH] arm,arm64: Conditionalize bio_vec usage

Olof Johansson olof at lixom.net
Wed Nov 6 10:40:43 EST 2013


On Wed, Nov 6, 2013 at 5:05 AM, Thierry Reding <thierry.reding at gmail.com> wrote:
> Commit 3d1975b57097 (arm,arm64: do not always merge bio_vec if we are
> running on Xen) unconditionally added code using the bio_vec typedefs
> which causes build errors on configurations where CONFIG_BLOCK is
> disabled.
>
> Add #ifdef CONFIG_BLOCK protection to fix this.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>

I commented on the offending patch (which is a good way to make people
aware of it instead of posting standalone patches like you did), and
Stefano posted patch that declares struct bio_vec; instead.

Either way is ok with me, I'd generally prefer to avoid the ifdefs though.


-Olof



More information about the linux-arm-kernel mailing list