mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 |
||
|---|---|---|
| .. | ||
| d71 | ||
| komeda_color_mgmt.c | ||
| komeda_color_mgmt.h | ||
| komeda_crtc.c | ||
| komeda_dev.c | ||
| komeda_dev.h | ||
| komeda_drv.c | ||
| komeda_event.c | ||
| komeda_format_caps.c | ||
| komeda_format_caps.h | ||
| komeda_framebuffer.c | ||
| komeda_framebuffer.h | ||
| komeda_kms.c | ||
| komeda_kms.h | ||
| komeda_pipeline_state.c | ||
| komeda_pipeline.c | ||
| komeda_pipeline.h | ||
| komeda_plane.c | ||
| komeda_private_obj.c | ||
| komeda_wb_connector.c | ||
| Makefile | ||