commit | 6c211809c87f0de939f3bd60ceec05338ae6eba1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Oct 26 11:00:59 2020 +0300 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Oct 27 17:05:57 2020 -0700 |
tree | 74ec3fba521f61e9a817df4691ee2f62cc28bc15 | |
parent | 6daa1da4e262b0cd52ef0acc1989ff22b5540264 [diff] |
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>