Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
18848 commits behind the upstream repository.
user avatar
Alison Wang authored
Pointer 'reg' returned from call to function 'fdt_getprop' may be
NULL, will be passed to function and may be dereferenced there by
passing argument 1 to function 'of_read_number'. So check pointer
'reg' first.

Signed-off-by: default avatarAlison Wang <alison.wang@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
6a00a9cb
History