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

From: Chen-Yu Tsai

Date: Sun May 24 2026 - 18:38:42 EST


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@xxxxxxxxxx>