linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clk: samsung: Checking a kmemdup() call in _samsung_clk_register_pll()
@ 2019-10-12 14:17 Markus Elfring
  2019-10-15 14:49 ` Tomasz Figa
  0 siblings, 1 reply; 11+ messages in thread
From: Markus Elfring @ 2019-10-12 14:17 UTC (permalink / raw)
  To: linux-clk, linux-samsung-soc, Chanwoo Choi, Michael Turquette,
	Stephen Boyd, Sylwester Nawrocki, Tomasz Figa
  Cc: LKML, kernel-janitors, Aditya Pakki, Kangjie Lu, Navid Emamdoost,
	Stephen McCamant

Hello,

I tried another script for the semantic patch language out.
This source code analysis approach points out that the implementation
of the function “_samsung_clk_register_pll” contains also a call
of the function “kmemdup”.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/clk/samsung/clk-pll.c?id=1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a#n1275
https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/clk/samsung/clk-pll.c#L1275

* Do you find the usage of the format string “%s: could not allocate
  rate table for %s\n” still appropriate at this place?

* Is there a need to adjust the error handling here?

Regards,
Markus

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <CGME20191012141739epcas3p31e41c151b30d49c94aeb933aa42dc9f7@epcas3p3.samsung.com>]

end of thread, other threads:[~2019-10-16 11:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 14:17 clk: samsung: Checking a kmemdup() call in _samsung_clk_register_pll() Markus Elfring
2019-10-15 14:49 ` Tomasz Figa
2019-10-15 17:55   ` Markus Elfring
2019-10-16 11:43     ` Tomasz Figa
2019-10-16 11:58       ` Markus Elfring
2019-10-15 17:55   ` Markus Elfring
2019-10-16 10:55   ` Markus Elfring
2019-10-16 11:44     ` Tomasz Figa
     [not found] <CGME20191012141739epcas3p31e41c151b30d49c94aeb933aa42dc9f7@epcas3p3.samsung.com>
2019-10-12 14:17 ` Markus Elfring
2019-10-14  6:55   ` Chanwoo Choi
2019-10-14  8:05     ` Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).