diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-03-12 20:33:46 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-03-20 21:20:39 +0300 |
commit | 89dc891792c2e046b030f87600109c22209da32e (patch) | |
tree | 2c17c768f7abd315f3673a52a4a99a4e5799b074 /drivers/hwmon/tmp102.c | |
parent | b41fdc4a7bf9045e4871c5b15905ea732ffd044f (diff) | |
download | linux-89dc891792c2e046b030f87600109c22209da32e.tar.xz |
irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
The lpi_range_list is supposed to be sorted in ascending order of
->base_id (at least if the range merging is to work), but the current
comparison function returns a positive value if rb->base_id >
ra->base_id, which means that list_sort() will put A after B in that
case - and vice versa, of course.
Fixes: 880cb3cddd16 (irqchip/gic-v3-its: Refactor LPI allocator)
Cc: stable@vger.kernel.org (v4.19+)
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/hwmon/tmp102.c')
0 files changed, 0 insertions, 0 deletions