Sparse noticed that INADDR_ANY needs to be converted to big endian before it can be stored in struct sockaddr_in.s_addr. Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: lio-core/drivers/target/iscsi/iscsi_target.c =================================================================== --- lio-core.orig/drivers/target/iscsi/iscsi_target.c 2012-09-26 10:46:25.312446398 +0200 +++ lio-core/drivers/target/iscsi/iscsi_target.c 2012-09-26 10:52:48.324442746 +0200 @@ -3239,7 +3239,7 @@ static bool iscsit_check_inaddr_any(stru struct sockaddr_in * sock_in = (struct sockaddr_in *)&np->np_sockaddr; - if (sock_in->sin_addr.s_addr == INADDR_ANY) + if (sock_in->sin_addr.s_addr == htonl(INADDR_ANY)) ret = true; } -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html