[U-Boot] [PATCH 1/2] pwm: imx: Prevent NULL pointer dereference

Stefano Babic sbabic at denx.de
Tue May 26 14:14:16 CEST 2015


On 23/05/2015 09:16, Axel Lin wrote:
> pwm_id_to_reg() can return NULL, so add NULL testing to prevent NULL pointer
> dereference.
> 
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---

Applied to u-boot-imx, thanks!

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list