diff options
author | Parav Pandit <parav@mellanox.com> | 2019-02-12 23:23:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 19:45:39 +0300 |
commit | fdd41ec21e150113e8fe169783db9b2030f5491b (patch) | |
tree | 2a7e8c079d4511a956debfd7e8b0c9a7b4b08be8 /net/8021q | |
parent | 415d39427317d1532d7f097471cc8aca5f229b69 (diff) | |
download | linux-fdd41ec21e150113e8fe169783db9b2030f5491b.tar.xz |
devlink: Return right error code in case of errors for region read
devlink_nl_cmd_region_read_dumpit() misses to return right error code on
most error conditions.
Return the right error code on such errors.
Fixes: 4e54795a27f5 ("devlink: Add support for region snapshot read command")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions