On 02/06, Maxime Ripard wrote: > On Fri, Feb 03, 2017 at 03:00:50PM -0800, Stephen Boyd wrote: > > This kzalloc() could fail. Let's bail out with -ENOMEM here > > instead of NULL dereferencing. That silences static checkers. We > > should also cleanup on the error path even though this function > > returning an error probably means the system won't boot. > > > > Cc: Chen-Yu Tsai <[email protected]> > > Cc: Maxime Ripard <[email protected]> > > Signed-off-by: Stephen Boyd <[email protected]> > > Acked-by: Maxime Ripard <[email protected]> > > Can you apply it directly? >
Yep. Thanks. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

