linux/drivers/staging/media
Bingbu Cao 5ca94abfe5 media: staging/ipu7: Fix the loop bound in l2 table alloc
[ Upstream commit 98cc19a353 ]

This patch fixes the incorrect loop bound in alloc_l2_pt(). When
initializing L2 page table entries, the loop was incorrectly using
ISP_L1PT_PTES instead of ISP_L2PT_PTES though the ISP_L1PT_PTES is
equal to ISP_L2PT_PTES.

Fixes: 71d81c2568 ("media: staging/ipu7: add IPU7 DMA APIs and MMU mapping")
Cc: stable@vger.kernel.org
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-04 07:21:04 -05:00
..
atomisp media: atomisp: Fix incorrect snprintf format specifiers for signed integers 2025-08-29 11:04:02 +02:00
av7110 media fixes for v6.12-rc7 2024-11-08 07:41:27 -10:00
deprecated/atmel Staging driver changes for 6.13-rc1 2024-11-29 11:36:13 -08:00
imx media: staging: imx: Drop custom .unsubscribe_event() handler 2025-08-25 15:40:33 +02:00
ipu3 staging: media: ipu3: use string_choices API instead of ternary operator 2025-08-25 15:40:31 +02:00
ipu7 media: staging/ipu7: Fix the loop bound in l2 table alloc 2026-03-04 07:21:04 -05:00
max96712 staging: media: max96712: fix kernel oops when removing module 2024-12-19 12:50:19 +01:00
meson/vdec media: Reset file->private_data to NULL in v4l2_fh_del() 2025-08-13 08:33:44 +02:00
starfive media: staging: atomisp/starfive: use (t,l)/wxh format for rectangle 2025-04-30 08:16:06 +02:00
sunxi media: staging: Rename second ioctl handlers argument to 'void *priv' 2025-08-13 08:34:02 +02:00
tegra-video staging: media: tegra-video: use BIT() macro instead of shift 2025-08-29 11:04:02 +02:00
Kconfig media: rkvdec: Unstage the driver 2025-07-12 08:34:48 +02:00
Makefile media: rkvdec: Unstage the driver 2025-07-12 08:34:48 +02:00