]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf1f49737b2a74829a19ea177ddd83240997903a
tree8079cc97a2b15c35d3792307d3e9673486d6e812
parent6e14d38846e557fa0501a648e82d4143992d56ef
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