Re: clk: samsung: Checking a kmemdup() call in _samsung_clk_register_pll()

From: Tomasz Figa
Date: Wed Oct 16 2019 - 07:43:51 EST


2019å10æ16æ(æ) 2:55 Markus Elfring <Markus.Elfring@xxxxxx>:
>
> > That said, there is no need to print any warnings or error messages on
> > allocation failure, so technically they could be removed.
>
> Do you find information sufficient from the Linux allocation failure report?

A backtrace should be enough for this kind of a failure that shouldn't
normally happen and if happens, then the rest of the system must be in
a state already about to fail anyway.

Best regards,
Tomasz