diff options
author | James Smart <jsmart2021@gmail.com> | 2018-03-05 12:04:03 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-03-12 21:55:23 -0400 |
commit | 205e8240a1b42d32c08b0fae5778cbaa336c9c7f (patch) | |
tree | 670110d6ff9af2ff4c590faaad64e81a46d2321a /drivers/edac | |
parent | 0709263abe0de70a798dcdf481d5dd489ca4752e (diff) | |
download | blackbird-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/edac')
0 files changed, 0 insertions, 0 deletions