Re: [PATCH] [XFRM]: Don't dereference error pointer dst1

From: David Miller
Date: Wed Sep 29 2010 - 16:49:35 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 29 Sep 2010 22:45:13 +0200

> This is not a dereference, but a cast from "struct xfrm_dst *" to
> "struct dst_entry *"

Right, please teach whatever tool caught this that taking an address
of a member of an object referenced by pointer is not an error like a
true dereference is.
--
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/