commit | 290fdc4b7ef14e33d0e30058042b0e9bfd02b89b | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Wed Aug 11 17:33:32 2021 +0800 |
committer | Thomas Gleixner <tglx@linutronix.de> | Wed Aug 11 14:33:35 2021 +0200 |
tree | 7fcdf8ea2d046e1edbc66cc0ce388e908336edd9 | |
parent | 92848731c45f4f9c3d9818e6b4ba1b2884002324 [diff] |
genirq/timings: Fix error return code in irq_timings_test_irqs() 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