[PATCH] bus: imx-weim: fix valid range check

Shawn Guo shawn.gsc at gmail.com
Mon Feb 5 22:11:20 PST 2024


On Fri, Jan 19, 2024 at 07:50:26PM +0100, Lucas Stach wrote:
> When the range parsing was open-coded the number of u32 entries to
> parse had to be a multiple of 4 and the driver checks this. With
> the range parsing converted to the range parser the counting changes
> from individual u32 entries to a complete range, so the check must
> not reject counts not divisible by 4.
> 
> Fixes: 2a88e4792c6d ("bus: imx-weim: Remove open coded "ranges" parsing")
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

Applied, thanks!



More information about the linux-arm-kernel mailing list