git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c010360
)
netlink: avoid memset of 0 bytes sparse warning
author
Patrick McHardy
<kaber@trash.net>
Thu, 20 Nov 2008 12:08:29 +0000
(
04:08
-0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 20 Nov 2008 12:08:29 +0000
(
04:08
-0800)
A netlink attribute padding of zero triggers this sparse warning:
include/linux/netlink.h:245:8: warning: memset with byte count of 0
Avoid the memset when the size parameter is constant and requires no padding.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found