diff options
author | Parav Pandit <parav@mellanox.com> | 2019-02-12 14:23:58 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 11:45:39 -0500 |
commit | fdd41ec21e150113e8fe169783db9b2030f5491b (patch) | |
tree | 2a7e8c079d4511a956debfd7e8b0c9a7b4b08be8 /samples/trace_events | |
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>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions