> This patch adds checking for NULL value returned to prevent possible > NULL pointer dereference. > Also two unneeded 'return' are removed. > > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
Thanks, I tested your patch and it works. My original code supposes that the device-tree is provided correctly, so I omited such checks. (Sorry, it should have been commented.) Should we check more strictly like your patch? Best regards, Kou Ishizaki _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev