[PATCH] PPC: CELLEB - fix potential NULL pointer dereference

Cyrill Gorcunov gorcunov at gmail.com
Mon Nov 26 18:46:42 EST 2007


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 <gorcunov at gmail.com>
---
Any comments are welcome.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-celleb-fix-null.diff
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071126/670638e3/attachment.txt>


More information about the Linuxppc-dev mailing list