* [PATCH 08/18] m68k: coldfire: Move inline before return type [not found] <cover.1499284835.git.joe@perches.com> @ 2017-07-05 20:02 ` Joe Perches [not found] ` <14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com> 1 sibling, 0 replies; 2+ messages in thread From: Joe Perches @ 2017-07-05 20:02 UTC (permalink / raw) To: Andrew Morton, Greg Ungerer; +Cc: Geert Uytterhoeven, linux-m68k, linux-kernel Make the code like the rest of the kernel. Signed-off-by: Joe Perches <joe@perches.com> --- 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; } -- 2.10.0.rc2.1.g053435c ^ permalink raw reply related [flat|nested] 2+ messages in thread
[parent not found: <14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com>]
* Re: [PATCH 08/18] m68k: coldfire: Move inline before return type [not found] ` <14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com> @ 2017-07-06 0:45 ` Greg Ungerer 0 siblings, 0 replies; 2+ messages in thread From: Greg Ungerer @ 2017-07-06 0:45 UTC (permalink / raw) To: Joe Perches, Andrew Morton; +Cc: Geert Uytterhoeven, linux-m68k, linux-kernel 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; > } > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-06 0:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1499284835.git.joe@perches.com>
2017-07-05 20:02 ` [PATCH 08/18] m68k: coldfire: Move inline before return type Joe Perches
[not found] ` <14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com>
2017-07-06 0:45 ` Greg Ungerer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox