From: Thomas Graf Date: Tue, 3 Jun 2008 23:36:54 +0000 (-0700) Subject: netlink: Improve returned error codes X-Git-Tag: v2.6.26-rc5~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3ed28caaef55e7e3a9316464256353c5f9b1df;p=pandora-kernel.git netlink: Improve returned error codes Make nlmsg_trim(), nlmsg_cancel(), genlmsg_cancel(), and nla_nest_cancel() void functions. Return -EMSGSIZE instead of -1 if the provided message buffer is not big enough. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed