aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-07-06 12:44:02 +0000
committerDavid S. Miller <[email protected]>2018-07-07 11:04:35 +0000
commit000244d3dc1f8114e38fe9ee2d9a0986404d9cbe (patch)
treedd63537ddbfc95239f1a11e67dc0b76560764e40 /net/nsh/nsh.c
parentcxgb4: assume flash part size to be 4MB, if it can't be determined (diff)
downloadkernel-000244d3dc1f8114e38fe9ee2d9a0986404d9cbe.tar.gz
kernel-000244d3dc1f8114e38fe9ee2d9a0986404d9cbe.zip
net: bridge: fix br_vlan_get_{pvid,info} return values
These two functions return the regular -EINVAL failure in the normal code path, but return a nonstandard '-1' error otherwise, which gets interpreted as -EPERM. Let's change it to -EINVAL for the dummy functions as well. Fixes: 4d4fd36126d6 ("net: bridge: Publish bridge accessor functions") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions