Re: [PATCH 2/4 linux-next] bna: use container_of to resolve bufdesc_ex from bufdesc

From: David Miller
Date: Mon Sep 15 2014 - 12:50:00 EST


From: Fabian Frederick <fabf@xxxxxxxxx>
Date: Sat, 13 Sep 2014 22:38:27 +0200

> Use container_of instead of casting first structure member.
>
> Compiled but untested.
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>

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