[stgt] [PATCH] iser: fix a warning about container_of being redefined

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Apr 10 22:10:54 CEST 2014


On Thu, 10 Apr 2014 18:40:51 +0300
Roi Dayan <roid at mellanox.com> wrote:

> container_of is being defined in list.h and verbs.h differently.
> To keep tgtd toe use the container_of from list.h as today, Instead of
> wrapping ifndef which exists in verbs.h I moved the inclusion of verbs
> to after list.h
> 
> Signed-off-by: Roi Dayan <roid at mellanox.com>
> ---
>  usr/iscsi/iser.c      |    4 +---
>  usr/iscsi/iser.h      |    3 +++
>  usr/iscsi/iser_text.c |    2 --
>  3 files changed, 4 insertions(+), 5 deletions(-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list