summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCarsten Haitzler <carsten.haitzler@arm.com>2021-02-04 13:11:02 +0000
committerLiviu Dudau <liviu.dudau@arm.com>2021-04-01 13:48:48 +0100
commita1c3be890440a1769ed6f822376a3e3ab0d42994 (patch)
treeed58b15ee2b958c8c2f8b6cbe76ede80885414e0 /Documentation
parent6f6ab533590cefb7317d38d3dc734c566f7d2646 (diff)
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
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions