summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_pm81.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-03-05 12:04:03 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-03-12 21:55:23 -0400
commit205e8240a1b42d32c08b0fae5778cbaa336c9c7f (patch)
tree670110d6ff9af2ff4c590faaad64e81a46d2321a /drivers/macintosh/windfarm_pm81.c
parent0709263abe0de70a798dcdf481d5dd489ca4752e (diff)
downloadblackbird-obmc-linux-205e8240a1b42d32c08b0fae5778cbaa336c9c7f.tar.gz
blackbird-obmc-linux-205e8240a1b42d32c08b0fae5778cbaa336c9c7f.zip
scsi: lpfc: Code cleanup for 128byte wqe data type
The driver is very sloppy about the WQE structure passed between routines. The base struct type is a 64byte wqe. But in many routines they typecast and access 128byte wqes. There were a couple of cases in the past (corrected already) where the typecasts were incorrectly done and the 64byte buffer was accessed as a 128 byte buffer. Clean this up by properly declaring wqe's as 128byte wqe's and removing the typecasts. 64byte wqes are considered a subset of the 128byte wqes. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/macintosh/windfarm_pm81.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud