@@ -48,8 +48,8 @@ lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes)
src32 = (uint32_t *) src;
/* write input bytes, 4 bytes at a time */
- for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) {
- writel( *src32, dest32);
+ for (four_bytes = bytes / 4; four_bytes > 0; four_bytes--) {
+ writel(*src32, dest32);
readl(dest32); /* flush */
dest32++;
src32++;
@@ -59,7 +59,7 @@ lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes)
}
static inline void
-lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes)
+lpfc_memcpy_from_slim(void *dest, void __iomem *src, unsigned int bytes)
{
uint32_t *dest32;
uint32_t __iomem *src32;
@@ -70,8 +70,8 @@ lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes)
src32 = (uint32_t __iomem *) src;
/* read input bytes, 4 bytes at a time */
- for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) {
- *dest32 = readl( src32);
+ for (four_bytes = bytes / 4; four_bytes > 0; four_bytes--) {
+ *dest32 = readl(src32);
dest32++;
src32++;
}
@@ -82,17 +82,17 @@ lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes)
#else
static inline void
-lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes)
+lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes)
{
/* convert bytes in argument list to word count for copy function */
__iowrite32_copy(dest, src, bytes / sizeof(uint32_t));
}
static inline void
-lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes)
+lpfc_memcpy_from_slim(void *dest, void __iomem *src, unsigned int bytes)
{
/* actually returns 1 byte past dest */
- memcpy_fromio( dest, src, bytes);
+ memcpy_fromio(dest, src, bytes);
}
#endif /* __BIG_ENDIAN */
Fix the following errors reported by checkpatch: ERROR: need consistent spacing around '/' (ctx:WxV) ERROR: space prohibited after that open parenthesis '(' Signed-off-by: GuoHua Cheng <chenguohua@jari.cn> --- drivers/scsi/lpfc/lpfc_compat.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)