git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] lpfc 8.2.5 : Miscellaneous discovery Fixes
[pandora-kernel.git]
/
drivers
/
scsi
/
lpfc
/
lpfc_mem.c
diff --git
a/drivers/scsi/lpfc/lpfc_mem.c
b/drivers/scsi/lpfc/lpfc_mem.c
index
6dc5ab8
..
27448c9
100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_mem.c
+++ b/
drivers/scsi/lpfc/lpfc_mem.c
@@
-265,6
+265,9
@@
lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp)
{
struct hbq_dmabuf *hbq_entry;
+ if (!mp)
+ return;
+
if (phba->sli3_options & LPFC_SLI3_HBQ_ENABLED) {
hbq_entry = container_of(mp, struct hbq_dmabuf, dbuf);
if (hbq_entry->tag == -1) {
@@
-279,4
+282,3
@@
lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp)
}
return;
}
-