diff options
author | 2022-10-14 10:05:40 +0800 | |
---|---|---|
committer | 2022-10-15 11:08:36 +0100 | |
commit | d8bde3bf7f82dac5fc68a62c2816793a12cafa2a (patch) | |
tree | 64fc30b1ea1e0a28890ba9a9a62d78df0e2e091d /net/dsa/slave.c | |
parent | sfc: Change VF mac via PF as first preference if available. (diff) | |
download | linux-rng-d8bde3bf7f82dac5fc68a62c2816793a12cafa2a.tar.xz linux-rng-d8bde3bf7f82dac5fc68a62c2816793a12cafa2a.zip |
net/atm: fix proc_mpc_write incorrect return value
Then the input contains '\0' or '\n', proc_mpc_write has read them,
so the return value needs +1.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions