[PATCH] bus: sunxi-rsb: Always check register address validity

Chen-Yu Tsai wens at kernel.org
Sun May 24 15:38:23 PDT 2026


On Sun, 01 Mar 2026 17:49:39 +0300, Andrey Skvortsov wrote:
> The register address was already validated for read operations in
> regmap_sunxi_rsb_reg_read before being truncated to a u8. Write operations
> have the same set of possible addresses, and the address is being truncated
> from u32 to u8 here as well, so the same check is needed.
> 
> 

Remerged for 7.2 instead.

Applied to sunxi/drivers-for-7.2 in sunxi, thanks!

[1/1] bus: sunxi-rsb: Always check register address validity
      https://git.kernel.org/sunxi/linux/c/61192938a587

Best regards,
-- 
Chen-Yu Tsai <wens at kernel.org>



More information about the linux-arm-kernel mailing list