diff options
author | Tony Battersby <tonyb@cybernetics.com> | 2009-01-08 12:53:37 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 12:58:15 -0500 |
commit | 07b9d81e849f64b990e943de6ad75b63dafe5a4b (patch) | |
tree | 474e020b1473ffb780a198782570b50c8f76ca3b /drivers/spi/spidev.c | |
parent | d3ce65d12668ef1e3a164d48e04c59228d5ecf7b (diff) |
[SCSI] sym53c8xx: fix NULL deref on error path
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>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions