2023-09-27 07:24:16

by chenguohua

[permalink] [raw]
Subject: [PATCH] aic7xxx: Clean up errors in queue.h

Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

Signed-off-by: GuoHua Cheng <[email protected]>
---
drivers/scsi/aic7xxx/queue.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/aic7xxx/queue.h b/drivers/scsi/aic7xxx/queue.h
index f6e958a5f973..7338d93d2f95 100644
--- a/drivers/scsi/aic7xxx/queue.h
+++ b/drivers/scsi/aic7xxx/queue.h
@@ -187,7 +187,7 @@ struct { \
#define STAILQ_FIRST(head) ((head)->stqh_first)

#define STAILQ_FOREACH(var, head, field) \
- for((var) = STAILQ_FIRST((head)); \
+ for ((var) = STAILQ_FIRST((head)); \
(var); \
(var) = STAILQ_NEXT((var), field))

--
2.17.1