datapath: Make VERIFY_NUL_STRING return a negative error code.
authorBen Pfaff <blp@nicira.com>
Tue, 4 Jan 2011 23:32:39 +0000 (15:32 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 27 Jan 2011 17:31:37 +0000 (09:31 -0800)
commitae1b9e7d2c6d447f912b7cfbfbf33067419bc156
treeabef98727b939f11e565c2c110a5539ab0aba263
parentd650378e743b93ab070ffde978a7557aa522dcb1
datapath: Make VERIFY_NUL_STRING return a negative error code.

This is the common kernel convention.  None of the callers currently do
anything with the return code except for test whether it is nonzero, so
they don't need any changes.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/include/net/netlink.h