[U-Boot] [PATCH v1 1/5] drivers: clk: Handle gracefully NULL pointers
sjg at chromium.org
Wed Oct 30 01:48:37 UTC 2019
On Mon, 30 Sep 2019 at 06:29, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> Prepare the way for a managed CLK API by handling NULL pointers without
> crashing nor failing.
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> drivers/clk/clk-uclass.c | 43 +++++++++++++++++++++++++++++++++-------
> include/clk.h | 2 +-
> 2 files changed, 37 insertions(+), 8 deletions(-)
This increases code size so can we make it a Kconfig option?
Why is someone calling these functions with NULL?
More information about the U-Boot