On 23/07/2025 16:54, Andrew Goodbody wrote:
Should return value calculated by ERR_PTR as calling code attempts to
check for it.
Also do not dereference a pointer that could be an error pointer before
checking it with IS_ERR.

Signed-off-by: Andrew Goodbody <andrew.goodb...@linaro.org>
---
Andrew Goodbody (2):
       clk: versaclock: return value calculated by ERR_PTR
       clk: versaclock: Use IS_ERR check before dereference

  drivers/clk/clk_versaclock.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)
---
base-commit: bd0ade7d090a334b3986936d63a34001d99722ad
change-id: 20250723-clk_versaclock-77e9ddbd4a51

Best regards,

Are there any comments on this series please?

Thanks,
Andrew

Reply via email to