From: zhaimingbing <zhaimingbing@cmss.chinamobile.com>
To: gerg@linux-m68k.org
Cc: linux-m68k@lists.linux-m68k.org,
zhaimingbing <zhaimingbing@cmss.chinamobile.com>
Subject: [PATCH] m68k/include:Add spaces around '+'
Date: Sat, 14 Oct 2023 18:24:26 +0800 [thread overview]
Message-ID: <20231014102426.20048-1-zhaimingbing@cmss.chinamobile.com> (raw)
Add space around + operator to adhere to Linux coding style. Issue found
by checkpatch.pl
Signed-off-by: zhaimingbing <zhaimingbing@cmss.chinamobile.com>
---
arch/m68k/include/asm/amigaints.h | 48 +++++++++++++++----------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/arch/m68k/include/asm/amigaints.h b/arch/m68k/include/asm/amigaints.h
index b1bcdb835..e33ad2193 100644
--- a/arch/m68k/include/asm/amigaints.h
+++ b/arch/m68k/include/asm/amigaints.h
@@ -26,48 +26,48 @@
#define AMI_IRQS (32) /* AUTO_IRQS+AMI_STD_IRQS+2*CIA_IRQS */
/* builtin serial port interrupts */
-#define IRQ_AMIGA_TBE (IRQ_USER+0)
-#define IRQ_AMIGA_RBF (IRQ_USER+11)
+#define IRQ_AMIGA_TBE (IRQ_USER + 0)
+#define IRQ_AMIGA_RBF (IRQ_USER + 11)
/* floppy disk interrupts */
-#define IRQ_AMIGA_DSKBLK (IRQ_USER+1)
-#define IRQ_AMIGA_DSKSYN (IRQ_USER+12)
+#define IRQ_AMIGA_DSKBLK (IRQ_USER + 1)
+#define IRQ_AMIGA_DSKSYN (IRQ_USER + 12)
/* software interrupts */
-#define IRQ_AMIGA_SOFT (IRQ_USER+2)
+#define IRQ_AMIGA_SOFT (IRQ_USER + 2)
/* interrupts from external hardware */
#define IRQ_AMIGA_PORTS IRQ_AUTO_2
#define IRQ_AMIGA_EXTER IRQ_AUTO_6
/* copper interrupt */
-#define IRQ_AMIGA_COPPER (IRQ_USER+4)
+#define IRQ_AMIGA_COPPER (IRQ_USER + 4)
/* vertical blanking interrupt */
-#define IRQ_AMIGA_VERTB (IRQ_USER+5)
+#define IRQ_AMIGA_VERTB (IRQ_USER + 5)
/* Blitter done interrupt */
-#define IRQ_AMIGA_BLIT (IRQ_USER+6)
+#define IRQ_AMIGA_BLIT (IRQ_USER + 6)
/* Audio interrupts */
-#define IRQ_AMIGA_AUD0 (IRQ_USER+7)
-#define IRQ_AMIGA_AUD1 (IRQ_USER+8)
-#define IRQ_AMIGA_AUD2 (IRQ_USER+9)
-#define IRQ_AMIGA_AUD3 (IRQ_USER+10)
+#define IRQ_AMIGA_AUD0 (IRQ_USER + 7)
+#define IRQ_AMIGA_AUD1 (IRQ_USER + 8)
+#define IRQ_AMIGA_AUD2 (IRQ_USER + 9)
+#define IRQ_AMIGA_AUD3 (IRQ_USER + 10)
/* CIA interrupt sources */
-#define IRQ_AMIGA_CIAA (IRQ_USER+14)
-#define IRQ_AMIGA_CIAA_TA (IRQ_USER+14)
-#define IRQ_AMIGA_CIAA_TB (IRQ_USER+15)
-#define IRQ_AMIGA_CIAA_ALRM (IRQ_USER+16)
-#define IRQ_AMIGA_CIAA_SP (IRQ_USER+17)
-#define IRQ_AMIGA_CIAA_FLG (IRQ_USER+18)
-#define IRQ_AMIGA_CIAB (IRQ_USER+19)
-#define IRQ_AMIGA_CIAB_TA (IRQ_USER+19)
-#define IRQ_AMIGA_CIAB_TB (IRQ_USER+20)
-#define IRQ_AMIGA_CIAB_ALRM (IRQ_USER+21)
-#define IRQ_AMIGA_CIAB_SP (IRQ_USER+22)
-#define IRQ_AMIGA_CIAB_FLG (IRQ_USER+23)
+#define IRQ_AMIGA_CIAA (IRQ_USER + 14)
+#define IRQ_AMIGA_CIAA_TA (IRQ_USER + 14)
+#define IRQ_AMIGA_CIAA_TB (IRQ_USER + 15)
+#define IRQ_AMIGA_CIAA_ALRM (IRQ_USER + 16)
+#define IRQ_AMIGA_CIAA_SP (IRQ_USER + 17)
+#define IRQ_AMIGA_CIAA_FLG (IRQ_USER + 18)
+#define IRQ_AMIGA_CIAB (IRQ_USER + 19)
+#define IRQ_AMIGA_CIAB_TA (IRQ_USER + 19)
+#define IRQ_AMIGA_CIAB_TB (IRQ_USER + 20)
+#define IRQ_AMIGA_CIAB_ALRM (IRQ_USER + 21)
+#define IRQ_AMIGA_CIAB_SP (IRQ_USER + 22)
+#define IRQ_AMIGA_CIAB_FLG (IRQ_USER + 23)
/* INTREQR masks */
--
2.33.0
reply other threads:[~2023-10-19 8:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231014102426.20048-1-zhaimingbing@cmss.chinamobile.com \
--to=zhaimingbing@cmss.chinamobile.com \
--cc=gerg@linux-m68k.org \
--cc=linux-m68k@lists.linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).