We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40c04a commit 097c063Copy full SHA for 097c063
drivers/scsi/qla2xxx/qla_os.c
@@ -4953,7 +4953,7 @@ qla2x00_mem_free(struct qla_hw_data *ha)
4953
ha->gid_list = NULL;
4954
ha->gid_list_dma = 0;
4955
4956
- if (!list_empty(&ha->base_qpair->dsd_list)) {
+ if (ha->base_qpair && !list_empty(&ha->base_qpair->dsd_list)) {
4957
struct dsd_dma *dsd_ptr, *tdsd_ptr;
4958
4959
/* clean up allocated prev pool */
0 commit comments