commit | fdd41ec21e150113e8fe169783db9b2030f5491b | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Tue Feb 12 14:23:58 2019 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 14 11:45:39 2019 -0500 |
tree | 2a7e8c079d4511a956debfd7e8b0c9a7b4b08be8 | |
parent | 415d39427317d1532d7f097471cc8aca5f229b69 [diff] |
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>