dcbnl: Return consistent error codes
authorThomas Graf <tgraf@suug.ch>
Wed, 13 Jun 2012 02:54:58 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jun 2012 22:46:34 +0000 (15:46 -0700)
commit3d1f486952b750f1cca53cf22d4f769db5aba4f0
tree8079cc97a2b15c35d3792307d3e9673486d6e812
parentab6d470735682a6e1ba889a66f56eb1640242096
dcbnl: Return consistent error codes

EMSGSIZE - ran out of space while constructing message
EOPNOTSUPP - driver/hardware does not support operation
ENODEV - network device not found
EINVAL - invalid message

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c