Skip to content
Commit 11025644 authored by Carsten Haitzler's avatar Carsten Haitzler
Browse files

drm/komeda: Fix bit check to import to value of proper type



Another issue found by KASAN. The bit finding is bueried 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's avatarCarsten Haitzler <carsten.haitzler@arm.com>
parent 1c8d7b9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment