Jiapeng Chong a8db57c1d2 rtnetlink: Fix missing error code in rtnl_bridge_notify()
The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'err'.

Eliminate the follow smatch warning:

net/core/rtnetlink.c:4834 rtnl_bridge_notify() warn: missing error code
'err'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-03 13:56:27 -07:00
..
2020-04-20 12:43:24 -07:00
2020-03-29 22:30:57 -07:00
2021-04-16 11:41:07 -07:00
2021-04-20 16:08:02 -07:00
2021-04-29 11:57:23 -07:00
2021-06-01 15:18:49 -07:00
2020-06-18 20:46:23 -07:00