[PATCH] scsi: lpfc: Clean up errors in lpfc.h

KaiLong Wang posted 1 patch 2 years, 2 months ago
drivers/scsi/lpfc/lpfc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scsi: lpfc: Clean up errors in lpfc.h
Posted by KaiLong Wang 2 years, 2 months ago
Fix the following errors reported by checkpatch:

ERROR: space prohibited after that open parenthesis '('
ERROR: space prohibited before that close parenthesis ')'

Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
 drivers/scsi/lpfc/lpfc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
index af15f7a22d25..10c95dd87759 100644
--- a/drivers/scsi/lpfc/lpfc.h
+++ b/drivers/scsi/lpfc/lpfc.h
@@ -89,7 +89,7 @@ struct lpfc_sli2_slim;
 #define putPaddrLow(addr)    ((uint32_t) (0xffffffff & (u64)(addr)))
 #define putPaddrHigh(addr)   ((uint32_t) (0xffffffff & (((u64)(addr))>>32)))
 #define getPaddr(high, low)  ((dma_addr_t)( \
-			     (( (u64)(high)<<16 ) << 16)|( (u64)(low))))
+			     (((u64)(high)<<16) << 16)|((u64)(low))))
 /* Provide maximum configuration definitions. */
 #define LPFC_DRVR_TIMEOUT	16	/* driver iocb timeout value in sec */
 #define FC_MAX_ADPTMSG		64
-- 
2.17.1