Skip to content

clk: Fine-tuning for ten function implementations

SF Markus Elfring kernel-janitors linux-clk lkml 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8clk: si5351: Use devm_kcalloc() in si5351_i2c_probe()drivers/clk/clk-si5351.c+2 -21 reply
2/8clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()drivers/clk/clk-si5351.c+1 -31 reply
3/8clk: si5351: Adjust a null pointer check in si5351_dt_parse()drivers/clk/clk-si5351.c+1 -10 replies
4/8clk: Replace four seq_printf() calls by seq_putc()drivers/clk/clk.c+4 -51 reply
5/8clk: Combine two seq_puts() calls into one call in clk_summary_show()drivers/clk/clk.c+3 -30 replies
6/8clk: Improve a size determination in two functionsdrivers/clk/clk.c+2 -21 reply
7/8clk: nomadik: Use seq_puts() in nomadik_src_clk_show()drivers/clk/clk-nomadik.c+1 -11 reply
8/8clk: nomadik: Delete error messages for a failed memory allocation in two functionsdrivers/clk/clk-nomadik.c+3 -71 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] clk: Fine-tuning for ten function implementations

From: Markus Elfring <[email protected]>
Date: Thu, 20 Apr 2017 10:12:34 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (8):
Use devm_kcalloc() in si5351_i2c_probe()
Delete an error message for a failed memory allocation in si5351_i2c_probe() Adjust a null pointer check in si5351_dt_parse()
Replace four seq_printf() calls by seq_putc()
Combine two seq_puts() calls into one call in clk_summary_show() Improve a size determination in two functions
Use seq_puts() in nomadik_src_clk_show()
Delete error messages for a failed memory allocation in two functions

 drivers/clk/clk-nomadik.c | 12 ++++--------
 drivers/clk/clk-si5351.c  | 10 ++++------
 drivers/clk/clk.c         | 19 +++++++++----------
 3 files changed, 17 insertions(+), 24 deletions(-)
Signature · 1 line
2.12.2