Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681749 > unrolled thread

[PATCH 08/18] m68k: coldfire: Move inline before return type

Started byJoe Perches <joe@perches.com>
First post2017-07-05 22:10 +0200
Last post2017-07-06 03:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 08/18] m68k: coldfire: Move inline before return type Joe Perches <joe@perches.com> - 2017-07-05 22:10 +0200
    Re: [PATCH 08/18] m68k: coldfire: Move inline before return type Greg Ungerer <gerg@linux-m68k.org> - 2017-07-06 03:00 +0200

#1681749 — [PATCH 08/18] m68k: coldfire: Move inline before return type

FromJoe Perches <joe@perches.com>
Date2017-07-05 22:10 +0200
Subject[PATCH 08/18] m68k: coldfire: Move inline before return type
Message-ID<tZYMx-2CG-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1681982

FromGreg Ungerer <gerg@linux-m68k.org>
Date2017-07-06 03:00 +0200
Message-ID<u03jb-5nS-1@gated-at.bofh.it>
In reply to#1681749
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;
>  }
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web