All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Cc: Tony Luck <tony.luck@intel.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	linux-ia64@vger.kernel.org
Subject: [PATCH 07/18] ia64: sn: pci: Move inline before type
Date: Wed,  5 Jul 2017 13:02:16 -0700	[thread overview]
Message-ID: <f42b2202bd0d4e7ccf79ce5348bb255a035e67bb.1499284835.git.joe@perches.com> (raw)
In-Reply-To: <cover.1499284835.git.joe@perches.com>

Make the use of inline like the rest of the kernel.

Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/ia64/sn/pci/pcibr/pcibr_ate.c | 2 +-
 arch/ia64/sn/pci/tioce_provider.c  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/ia64/sn/pci/pcibr/pcibr_ate.c b/arch/ia64/sn/pci/pcibr/pcibr_ate.c
index 5bc34eac9e01..b67bb4cb73ff 100644
--- a/arch/ia64/sn/pci/pcibr/pcibr_ate.c
+++ b/arch/ia64/sn/pci/pcibr/pcibr_ate.c
@@ -140,7 +140,7 @@ static inline u64 __iomem *pcibr_ate_addr(struct pcibus_info *pcibus_info,
 /*
  * Update the ate.
  */
-void inline
+inline void
 ate_write(struct pcibus_info *pcibus_info, int ate_index, int count,
 	  volatile u64 ate)
 {
diff --git a/arch/ia64/sn/pci/tioce_provider.c b/arch/ia64/sn/pci/tioce_provider.c
index 46d3df4b03a1..3bd9abc35485 100644
--- a/arch/ia64/sn/pci/tioce_provider.c
+++ b/arch/ia64/sn/pci/tioce_provider.c
@@ -52,7 +52,7 @@
  * All registers defined in struct tioce will meet that criteria.
  */
 
-static void inline
+static inline void
 tioce_mmr_war_pre(struct tioce_kernel *kern, void __iomem *mmr_addr)
 {
 	u64 mmr_base;
@@ -78,7 +78,7 @@ tioce_mmr_war_pre(struct tioce_kernel *kern, void __iomem *mmr_addr)
 	}
 }
 
-static void inline
+static inline void
 tioce_mmr_war_post(struct tioce_kernel *kern, void __iomem *mmr_addr)
 {
 	u64 mmr_base;
-- 
2.10.0.rc2.1.g053435c

WARNING: multiple messages have this Message-ID (diff)
From: Joe Perches <joe@perches.com>
To: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Cc: Tony Luck <tony.luck@intel.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	linux-ia64@vger.kernel.org
Subject: [PATCH 07/18] ia64: sn: pci: Move inline before type
Date: Wed, 05 Jul 2017 20:02:16 +0000	[thread overview]
Message-ID: <f42b2202bd0d4e7ccf79ce5348bb255a035e67bb.1499284835.git.joe@perches.com> (raw)
In-Reply-To: <cover.1499284835.git.joe@perches.com>

Make the use of inline like the rest of the kernel.

Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/ia64/sn/pci/pcibr/pcibr_ate.c | 2 +-
 arch/ia64/sn/pci/tioce_provider.c  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/ia64/sn/pci/pcibr/pcibr_ate.c b/arch/ia64/sn/pci/pcibr/pcibr_ate.c
index 5bc34eac9e01..b67bb4cb73ff 100644
--- a/arch/ia64/sn/pci/pcibr/pcibr_ate.c
+++ b/arch/ia64/sn/pci/pcibr/pcibr_ate.c
@@ -140,7 +140,7 @@ static inline u64 __iomem *pcibr_ate_addr(struct pcibus_info *pcibus_info,
 /*
  * Update the ate.
  */
-void inline
+inline void
 ate_write(struct pcibus_info *pcibus_info, int ate_index, int count,
 	  volatile u64 ate)
 {
diff --git a/arch/ia64/sn/pci/tioce_provider.c b/arch/ia64/sn/pci/tioce_provider.c
index 46d3df4b03a1..3bd9abc35485 100644
--- a/arch/ia64/sn/pci/tioce_provider.c
+++ b/arch/ia64/sn/pci/tioce_provider.c
@@ -52,7 +52,7 @@
  * All registers defined in struct tioce will meet that criteria.
  */
 
-static void inline
+static inline void
 tioce_mmr_war_pre(struct tioce_kernel *kern, void __iomem *mmr_addr)
 {
 	u64 mmr_base;
@@ -78,7 +78,7 @@ tioce_mmr_war_pre(struct tioce_kernel *kern, void __iomem *mmr_addr)
 	}
 }
 
-static void inline
+static inline void
 tioce_mmr_war_post(struct tioce_kernel *kern, void __iomem *mmr_addr)
 {
 	u64 mmr_base;
-- 
2.10.0.rc2.1.g053435c


  parent reply	other threads:[~2017-07-05 20:02 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 ` Joe Perches [this message]
2017-07-05 20:02   ` [PATCH 07/18] ia64: sn: pci: Move inline before type 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
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=f42b2202bd0d4e7ccf79ce5348bb255a035e67bb.1499284835.git.joe@perches.com \
    --to=joe@perches.com \
    --cc=akpm@linux-foundation.org \
    --cc=fenghua.yu@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.com \
    /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 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.