Carsten Haitzler a1c3be8904 drm/komeda: Fix bit check to import to value of proper type
Another issue found by KASAN. The bit finding is buried inside the
dp_for_each_set_bit() macro (that passes on to for_each_set_bit() that
calls the bit stuff. These bit functions want an unsigned long pointer
as input and just dumbly casting leads to out-of-bounds accesses.
This fixes that.

Signed-off-by: Carsten Haitzler <carsten.haitzler@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: James Qian Wang <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210204131102.68658-1-carsten.haitzler@foss.arm.com
2021-04-01 13:48:48 +01:00
..
2021-03-16 17:08:46 +10:00
2021-03-23 10:32:14 +01:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-19 10:40:54 +01:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-03-25 08:23:28 -03:00
2021-03-24 17:05:14 +01:00
2021-03-01 08:03:45 +02:00
2021-03-16 17:08:46 +10:00
2021-01-04 12:59:33 +01:00
2021-03-16 17:08:46 +10:00
2021-01-07 13:40:20 +01:00
2021-03-16 17:08:46 +10:00
2021-03-18 14:22:50 +01:00
2021-03-16 17:08:46 +10:00
2021-03-16 13:12:46 +01:00