From: Greg Ungerer <gerg@linux-m68k.org> To: Joe Perches <joe@perches.com>, Andrew Morton <akpm@linux-foundation.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org>, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/18] m68k: coldfire: Move inline before return type Date: Thu, 6 Jul 2017 10:45:52 +1000 [thread overview] Message-ID: <cd8c349a-232e-a657-34db-1dc205b35a47@linux-m68k.org> (raw) In-Reply-To: <14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com> On 06/07/17 06:02, Joe Perches wrote: > Make the code like the rest of the kernel. > > Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Greg Ungerer <gerg@linux-m68k.org> > --- > arch/m68k/coldfire/intc-simr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/m68k/coldfire/intc-simr.c b/arch/m68k/coldfire/intc-simr.c > index 7cf2c156f72d..15c4b7a6e38f 100644 > --- a/arch/m68k/coldfire/intc-simr.c > +++ b/arch/m68k/coldfire/intc-simr.c > @@ -35,7 +35,7 @@ > #define EINT7 67 /* EDGE Port interrupt 7 */ > > static unsigned int irqebitmap[] = { 0, 1, 4, 7 }; > -static unsigned int inline irq2ebit(unsigned int irq) > +static inline unsigned int irq2ebit(unsigned int irq) > { > return irqebitmap[irq - EINT0]; > } > @@ -51,7 +51,7 @@ static unsigned int inline irq2ebit(unsigned int irq) > #define EINT1 65 /* EDGE Port interrupt 1 */ > #define EINT7 71 /* EDGE Port interrupt 7 */ > > -static unsigned int inline irq2ebit(unsigned int irq) > +static inline unsigned int irq2ebit(unsigned int irq) > { > return irq - EINT0; > } >
WARNING: multiple messages have this Message-ID (diff)
From: Greg Ungerer <gerg@linux-m68k.org> To: Joe Perches <joe@perches.com>, Andrew Morton <akpm@linux-foundation.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org>, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/18] m68k: coldfire: Move inline before return type Date: Thu, 6 Jul 2017 10:45:52 +1000 [thread overview] Message-ID: <cd8c349a-232e-a657-34db-1dc205b35a47@linux-m68k.org> (raw) In-Reply-To: <14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com> On 06/07/17 06:02, Joe Perches wrote: > Make the code like the rest of the kernel. > > Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Greg Ungerer <gerg@linux-m68k.org> > --- > arch/m68k/coldfire/intc-simr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/m68k/coldfire/intc-simr.c b/arch/m68k/coldfire/intc-simr.c > index 7cf2c156f72d..15c4b7a6e38f 100644 > --- a/arch/m68k/coldfire/intc-simr.c > +++ b/arch/m68k/coldfire/intc-simr.c > @@ -35,7 +35,7 @@ > #define EINT7 67 /* EDGE Port interrupt 7 */ > > static unsigned int irqebitmap[] = { 0, 1, 4, 7 }; > -static unsigned int inline irq2ebit(unsigned int irq) > +static inline unsigned int irq2ebit(unsigned int irq) > { > return irqebitmap[irq - EINT0]; > } > @@ -51,7 +51,7 @@ static unsigned int inline irq2ebit(unsigned int irq) > #define EINT1 65 /* EDGE Port interrupt 1 */ > #define EINT7 71 /* EDGE Port interrupt 7 */ > > -static unsigned int inline irq2ebit(unsigned int irq) > +static inline unsigned int irq2ebit(unsigned int irq) > { > return irq - EINT0; > } >
next prev parent reply other threads:[~2017-07-06 0:55 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-07-05 20:02 [PATCH 00/18] treewide: Move storage class before return type Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 01/18] checkpatch: improve the STORAGE_CLASS test Joe Perches 2017-07-05 20:02 ` [PATCH 02/18] ARM: KVM: Move asmlinkage before type Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 03/18] ARM: HP Jornada 7XX: Move inline before return type Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 04/18] CRIS: gpio: " Joe Perches 2017-07-05 20:02 ` [PATCH 05/18] FRV: tlbflush: Move asmlinkage " Joe Perches 2017-07-05 20:02 ` [PATCH 06/18] ia64: Move inline " Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 07/18] ia64: sn: pci: Move inline before type Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 08/18] m68k: coldfire: Move inline before return type Joe Perches 2017-07-06 0:45 ` Greg Ungerer [this message] 2017-07-06 0:45 ` Greg Ungerer 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 09/18] MIPS: SMP: Move asmlinkage " Joe Perches 2017-07-05 20:02 ` [PATCH 10/18] sh: Move inline " Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 11/18] x86/efi: Move asmlinkage " Joe Perches 2017-07-05 20:02 ` [PATCH 12/18] drivers: s390: Move static and inline " Joe Perches 2017-07-06 10:29 ` Heiko Carstens 2017-07-06 10:57 ` Joe Perches 2017-07-06 12:25 ` Heiko Carstens 2017-07-06 18:04 ` Julian Wiedmann 2017-07-05 20:02 ` [PATCH 13/18] drivers: tty: serial: Move " Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 14/18] USB: serial: safe_serial: Move __inline__ " Joe Perches 2017-07-05 20:02 ` [PATCH 15/18] video: fbdev: intelfb: Move inline " Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 16/18] video: fbdev: omap: " Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:02 ` [PATCH 17/18] ARM: samsung: usb-ohci: " Joe Perches 2017-07-05 20:02 ` [PATCH 18/18] ALSA: opl4: " Joe Perches 2017-07-05 20:02 ` Joe Perches 2017-07-05 20:30 ` Clemens Ladisch 2017-07-05 20:30 ` Clemens Ladisch 2017-07-06 7:24 ` Takashi Iwai 2017-07-06 7:24 ` Takashi Iwai
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=cd8c349a-232e-a657-34db-1dc205b35a47@linux-m68k.org \ --to=gerg@linux-m68k.org \ --cc=akpm@linux-foundation.org \ --cc=geert@linux-m68k.org \ --cc=joe@perches.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-m68k@vger.kernel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.