diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-07-13 21:25:54 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 22:51:55 (GMT) |
commit | e34ccdfe0e08a6acb8c5e649fef1e94e6cd637f9 (patch) | |
tree | 037fc5ca114556aefc9734d6034ba3ad1dfbc162 /fs/namei.c | |
parent | 0fd30f77693f4fef32d30d4801cd21dcd487c2f0 (diff) | |
download | linux-fsl-qoriq-e34ccdfe0e08a6acb8c5e649fef1e94e6cd637f9.tar.xz |
[SCSI] lpfc: don't dereference NULL
When kzalloc fails in lpfc_hba_alloc, don't dereference the NULL by
lpfc_printf_log. Use dev_err instead.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-By: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions