[SCSI] scsi: fix lpfc build when wmb() is defined as mb()
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 22 Feb 2013 18:23:54 +0000 (10:23 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 24 Feb 2013 09:43:11 +0000 (09:43 +0000)
commitbf07bdea0d6baea1c8ca9e2dbc278cb85fbc33e2
tree90bc63ff72517cad09821aa80779972d90e4f0f4
parent6781209e7621a900fe83b3c09b1a02ec1a947c75
[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 <geert@linux-m68k.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_sli.c