diff options
| author | Randy Dunlap <[email protected]> | 2013-02-22 10:23:54 -0800 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2013-02-24 09:43:11 +0000 |
| commit | bf07bdea0d6baea1c8ca9e2dbc278cb85fbc33e2 (patch) | |
| tree | 90bc63ff72517cad09821aa80779972d90e4f0f4 /scripts/patch-kernel | |
| parent | 6781209e7621a900fe83b3c09b1a02ec1a947c75 (diff) | |
[SCSI] scsi: fix lpfc build when wmb() is defined as mb()
On architectures where wmb() is defined as mb(), a build error
happens since there is also a variable named 'mb' in lpfc_sli.c's
lpfc_sli_issue_mbox_s3() function. Rename the variable to 'mbx'
to prevent the build error.
drivers/scsi/lpfc/lpfc_sli.c: error: called object 'mb' is not a function
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: James Smart <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions