From: Randy Dunlap Date: Fri, 22 Feb 2013 18:23:54 +0000 (-0800) Subject: [SCSI] scsi: fix lpfc build when wmb() is defined as mb() X-Git-Tag: v3.9-rc1~21^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf07bdea0d6baea1c8ca9e2dbc278cb85fbc33e2;p=pandora-kernel.git [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 Signed-off-by: Randy Dunlap Acked-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed