[SCSI] sym53c8xx: fix NULL deref on error path
authorTony Battersby <tonyb@cybernetics.com>
Thu, 8 Jan 2009 17:53:37 +0000 (12:53 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:15 +0000 (12:58 -0500)
If sym_attach() fails to allocate np, the error path will dereference
a NULL pointer for printk.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found