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:
4a9fbcc
)
connector: use nlmsg_put() instead of NLMSG_PUT() macro.
author
Javier Martinez Canillas
<javier.martinez@collabora.co.uk>
Tue, 26 Jun 2012 05:41:24 +0000
(
05:41
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 27 Jun 2012 04:14:20 +0000
(21:14 -0700)
The NLMSG_PUT() macro contains a hidden goto which makes the code hard
to audit and very error prone.
While been there also use the inline function nlmsg_data() instead of the
NLMSG_DATA() macro to do explicit type checking.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found