On Fri, Jul 04, 2025 at 11:53:18AM +0100, Andrew Goodbody wrote:
> The assignments to sect and off use the pointer from ctxt.cur_dev but
> that has not been NULL checked before this is done. So instead move the
> assignments after the NULL check.
> 
> This issue found by Smatch
> 
> Signed-off-by: Andrew Goodbody <andrew.goodb...@linaro.org>

Reviewed-by: Gao Xiang <xi...@kernel.org>

Thanks!
Gao Xiang

Reply via email to