[POWERPC] Fix potential NULL dereference
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 15 Nov 2007 18:47:06 +0000 (21:47 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 20 Nov 2007 04:03:00 +0000 (22:03 -0600)
commit7ac33417ecf8c012df0e957cfa0628a6a4347c7d
tree027c1104e206c2736c9f88dba41292222333463f
parent2ffbb8377c7a0713baf6644e285adc27a5654582
[POWERPC] Fix potential NULL dereference

This patch does fix potential NULL pointer dereference that could take
place inside of strcmp() if of_get_property() call failed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/83xx/usb.c