[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140107.224357.1577838150943921013.davem@davemloft.net>
Date: Tue, 07 Jan 2014 22:43:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ying.xue@...driver.com
Cc: steffen.klassert@...unet.com, dborkman@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: xfrm6: silence sparse warning
From: Ying Xue <ying.xue@...driver.com>
Date: Wed, 8 Jan 2014 10:56:40 +0800
> Fix below sparse warning:
>
> net/ipv6/xfrm6_state.c:66:26: error: cannot size expression
...
> - memset(count, 0, sizeof(count));
> + memset(count, 0, sizeof(int) * maxclass);
I think the fix belongs in sparse, making it respect these two expressions
as equivalent.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists