summaryrefslogtreecommitdiffstats
path: root/block/scsi_ioctl.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2012-06-26 05:41:24 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-26 21:14:20 -0700
commit85c931665d822f1bedd69ecaab09a8ba84643020 (patch)
treedfa309a0e71fb29912465a239d5fef386ab18391 /block/scsi_ioctl.c
parent4a9fbcc6d606ae7f6a4e65b8a2759f46be8d45c6 (diff)
downloadlinux-stable-85c931665d822f1bedd69ecaab09a8ba84643020.tar.gz
linux-stable-85c931665d822f1bedd69ecaab09a8ba84643020.tar.bz2
linux-stable-85c931665d822f1bedd69ecaab09a8ba84643020.zip
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 <javier.martinez@collabora.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions