]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: Stop using NLA_PUT*().
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 00:22:22 +0000 (20:22 -0400)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:14 +0000 (08:22 +0800)
commit78759b62e6e907fb8ca74547fb61161d68e0895f
treef072ea72e3b40c11aa46b17e54762b4b35da593c
parent58ac48d123da1564e3d1bd1393e9332354a66d3e
enic: Stop using NLA_PUT*().

These macros contain a hidden goto, and are thus extremely error
prone and make code hard to audit.

(cherry picked from commit 1a106de6e6543e7d44dbe1bc5f37a8964607dfa6)
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/enic/enic_main.c