diff options
author | Qinglang Miao <[email protected]> | 2020-11-28 18:19:59 +0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2020-12-04 18:04:36 -0500 |
commit | 4d7659bfbe277a43399a4a2d90fca141e70f29e1 (patch) | |
tree | 529cda4c4adf118839dd39e619960e9321fc2987 /scripts/gdb/linux/modules.py | |
parent | e8dc79d1bdda0c048bfc7d39a8146c6db1c36ef6 (diff) |
dm ioctl: fix error return code in target_message
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 2ca4c92f58f9 ("dm ioctl: prevent empty message")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Qinglang Miao <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions