Commit 8ea73db
scsi: lpfc: Correct WQ creation for pagesize
Correct WQ creation for pagesize
The driver was calculating the adapter command pagesize indicator from
the system pagesize. However, the buffers the driver allocates are only
one size (SLI4_PAGE_SIZE), so no calculation was necessary.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 9434452 commit 8ea73db
2 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
| 1189 | + | |
1189 | 1190 | | |
1190 | 1191 | | |
1191 | 1192 | | |
| |||
1257 | 1258 | | |
1258 | 1259 | | |
1259 | 1260 | | |
| 1261 | + | |
1260 | 1262 | | |
1261 | 1263 | | |
1262 | 1264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13722 | 13722 | | |
13723 | 13723 | | |
13724 | 13724 | | |
13725 | | - | |
| 13725 | + | |
13726 | 13726 | | |
13727 | 13727 | | |
13728 | 13728 | | |
| |||
13748 | 13748 | | |
13749 | 13749 | | |
13750 | 13750 | | |
13751 | | - | |
13752 | | - | |
| 13751 | + | |
| 13752 | + | |
| 13753 | + | |
13753 | 13754 | | |
13754 | 13755 | | |
13755 | 13756 | | |
| |||
13935 | 13936 | | |
13936 | 13937 | | |
13937 | 13938 | | |
13938 | | - | |
| 13939 | + | |
13939 | 13940 | | |
13940 | 13941 | | |
13941 | 13942 | | |
| |||
0 commit comments