On Sat, Feb 8, 2020 at 10:53 PM Simon Glass <[email protected]> wrote:
>
> Some compilers produce a warning about 'child' being used before init.
> Silence this by setting to NULL at the start.

Should be a compiler bug I think. Which compiler has such issue?

>
> Signed-off-by: Simon Glass <[email protected]>
> ---
>
>  drivers/misc/p2sb_emul.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <[email protected]>

Reply via email to