Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367414
b: refs/heads/master
c: a957a7d
h: refs/heads/master
v: v3
  • Loading branch information
Adheer Chandravanshi authored and James Bottomley committed Apr 11, 2013
1 parent 5bbe0a7 commit 4bae2ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37719c2a54caff1f3d7861a17e06327f74002bb2
refs/heads/master: a957a7d7b5c69752c3c11182c41ef96aa52bb911
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -5587,7 +5587,7 @@ static int qla4xxx_sysfs_ddb_add(struct Scsi_Host *shost, const char *buf,
goto exit_ddb_add;
}

max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX :
max_ddbs = is_qla40XX(ha) ? MAX_PRST_DEV_DB_ENTRIES :
MAX_DEV_DB_ENTRIES;

fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry),
Expand Down Expand Up @@ -6707,7 +6707,7 @@ static int qla4xxx_sysfs_ddb_export(struct scsi_qla_host *ha)
return -ENOMEM;
}

max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX :
max_ddbs = is_qla40XX(ha) ? MAX_PRST_DEV_DB_ENTRIES :
MAX_DEV_DB_ENTRIES;

for (idx = 0; idx < max_ddbs; idx++) {
Expand Down

0 comments on commit 4bae2ba

Please sign in to comment.