diff options
author | Qinglang Miao <miaoqinglang@huawei.com> | 2020-11-28 18:19:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-29 13:42:38 +0100 |
commit | a6e29385c27b7b89d9551f911f3b7b559725ec7f (patch) | |
tree | e0604f0140d3897a85ba8651248f33bcc43e3825 /drivers/clocksource/arm_arch_timer.c | |
parent | 6ba1ed3141b2a77818cfb38fbb566c5bced77e78 (diff) |
dm ioctl: fix error return code in target_message
[ Upstream commit 4d7659bfbe277a43399a4a2d90fca141e70f29e1 ]
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 <hulkci@huawei.com>
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
0 files changed, 0 insertions, 0 deletions