On 09/09/2016 at 18:03:54 +0800, Axel Lin wrote :
> devm_kzalloc can return NULL, add NULL checking to prevent NULL pointer
> dereference.
> 
> Signed-off-by: Axel Lin <axel....@ingics.com>
> ---
>  drivers/rtc/rtc-ac100.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups 
"rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rtc-linux+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to