[PATCH v2] reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC

Philipp Zabel p.zabel at pengutronix.de
Wed Sep 25 03:36:47 PDT 2024


On Mi, 2024-09-25 at 02:59 -0700, Changhuang Liang wrote:
> data->asserted will be NULL on JH7110 SoC since commit 82327b127d41
> ("reset: starfive: Add StarFive JH7110 reset driver") was added. Add
> the judgment condition to avoid errors when calling reset_control_status
> on JH7110 SoC.

Please add a Fixes: line to make sure this is backported to all kernels
that contain commit 82327b127d41:

Fixes: 82327b127d41 ("reset: starfive: Add StarFive JH7110 reset driver")

> Signed-off-by: Changhuang Liang <changhuang.liang at starfivetech.com>
> Acked-by: Hal Feng <hal.feng at starfivetech.com>

With that,

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp



More information about the linux-riscv mailing list