Re: clk: samsung: Checking a kmemdup() call in _samsung_clk_register_pll()
From: Markus Elfring
Date: Wed Oct 16 2019 - 06:55:41 EST
>> * Is there a need to adjust the error handling here?
>
> No, there isn't much that can be done if we fail the allocation at
> such an early stage.
Can it matter to perform the setting âpll->rate_countâ only according
to a null pointer check for the variable âpll->rate_tableâ
because of the function call âkmemdupâ?
Regards,
Markus