[POWERPC] mpc5200: Fix null dereference if bestcomm fails to initialize
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 22 Mar 2008 03:41:05 +0000 (14:41 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 24 Mar 2008 06:55:49 +0000 (17:55 +1100)
commit9560aea4e9d17cb75113c6051e800222fd5c71a4
tree88517a2a9d2380196b32b03f047eadf1602316c8
parentb8c19eb16a7e6df57d0f6d67e42ce026e5d5930b
[POWERPC] mpc5200: Fix null dereference if bestcomm fails to initialize

If the bestcomm initialization fails, calls to the task allocate
function should fail gracefully instead of oopsing with a NULL deref.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/bestcomm/bestcomm.c