Dan Carpenter 6c211809c8 devlink: Fix some error codes
These paths don't set the error codes.  It's especially important in
devlink_nl_region_notify_build() where it leads to a NULL dereference in
the caller.

Fixes: 544e7c33ec2f ("net: devlink: Add support for port regions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201026080059.GA1628785@mwanda
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-27 17:05:57 -07:00
..
2020-09-18 14:12:43 -07:00
2020-10-27 17:05:57 -07:00
2020-09-30 14:21:30 -07:00
2020-08-27 07:55:59 -07:00
2020-10-26 16:29:14 -07:00
2020-10-10 09:12:52 -07:00