diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-08-11 12:33:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-15 10:50:29 +0300 |
commit | e9a902f88207fd2fae394357af1e596a74ac2281 (patch) | |
tree | 85a13cd9ba8276c3cbc31570f53c6d62a4c3e5c7 /lib | |
parent | 10d3bdd2d57867a98473a0a4bc153262e9b902b9 (diff) | |
download | linux-e9a902f88207fd2fae394357af1e596a74ac2281.tar.xz |
genirq/timings: Fix error return code in irq_timings_test_irqs()
[ Upstream commit 290fdc4b7ef14e33d0e30058042b0e9bfd02b89b ]
Return a negative error code from the error handling case instead of 0, as
done elsewhere in this function.
Fixes: f52da98d900e ("genirq/timings: Add selftest for irqs circular buffer")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210811093333.2376-1-thunder.leizhen@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions