Skip to content

clk: keystone: Fix some error handling paths

Christophe JAILLET kernel-janitors linux-clk lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: keystone: Fix an error checkingdrivers/clk/keystone/pll.c+3 -32 replies
2/3clk: keystone: Fix some error messagesdrivers/clk/keystone/pll.c+2 -20 replies
3/3clk: keystone: Fix missing iounmap calls in an error handling pathdrivers/clk/keystone/pll.c+7 -34 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] clk: keystone: Fix some error handling paths

The first of these 3 patches is a v2 of a patch posted earlier. The main change in this v2 is the propagation of the error returned by 'clk_register_pll()'.

The 2nd one is completely un-related and fixes some typo in error messages spoted while looking at the file.

Finaly, the 3rd one refactors the '_of_pll_clk_init' function in order to factorize some cleanups in case of error and to add some missing 'iounmap()' calls if 'clk_register_pll()' fails.

These patches are un-compiled. I get some errors for some reasons in my build environment. I've not checked further the root cause of these build errors but I guess that my plateform is not what is expected to build this code.

Christophe JAILLET (3):
clk: keystone: Fix an error checking
clk: keystone: Fix some error messages
clk: keystone: Fix missing iounmap calls in an error handling path

 drivers/clk/keystone/pll.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
Signature · 1 line
2.9.3