From: Javier Martinez Canillas Date: Tue, 26 Jun 2012 05:41:24 +0000 (+0000) Subject: connector: use nlmsg_put() instead of NLMSG_PUT() macro. X-Git-Tag: v3.6-rc1~125^2~415 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c931665d822f1bedd69ecaab09a8ba84643020;p=pandora-kernel.git connector: use nlmsg_put() instead of NLMSG_PUT() macro. 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed