public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* [PATCH 14/21] arm64: delay: remove inline marking of EXPORT_SYMBOL functions
       [not found] <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com>
@ 2013-05-09 10:36 ` Denis Efremov
  2013-05-09 10:39   ` Catalin Marinas
  2013-05-09 10:36 ` [PATCH 21/21] ARM: " Denis Efremov
  1 sibling, 1 reply; 3+ messages in thread
From: Denis Efremov @ 2013-05-09 10:36 UTC (permalink / raw)
  To: linux-arm-kernel

EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <yefremov.denis@gmail•com>
---
 arch/arm64/lib/delay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/lib/delay.c b/arch/arm64/lib/delay.c
index dad4ec9..368ca15 100644
--- a/arch/arm64/lib/delay.c
+++ b/arch/arm64/lib/delay.c
@@ -33,7 +33,7 @@ void __delay(unsigned long cycles)
 }
 EXPORT_SYMBOL(__delay);
 
-inline void __const_udelay(unsigned long xloops)
+void __const_udelay(unsigned long xloops)
 {
 	unsigned long loops;
 
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 21/21] ARM: remove inline marking of EXPORT_SYMBOL functions
       [not found] <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com>
  2013-05-09 10:36 ` [PATCH 14/21] arm64: delay: remove inline marking of EXPORT_SYMBOL functions Denis Efremov
@ 2013-05-09 10:36 ` Denis Efremov
  1 sibling, 0 replies; 3+ messages in thread
From: Denis Efremov @ 2013-05-09 10:36 UTC (permalink / raw)
  To: linux-arm-kernel

EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <yefremov.denis@gmail•com>
---
 arch/arm/mach-sa1100/jornada720_ssp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-sa1100/jornada720_ssp.c b/arch/arm/mach-sa1100/jornada720_ssp.c
index b143c46..737842c 100644
--- a/arch/arm/mach-sa1100/jornada720_ssp.c
+++ b/arch/arm/mach-sa1100/jornada720_ssp.c
@@ -33,7 +33,7 @@ static unsigned long jornada_ssp_flags;
  * we need to reverse all data we receive from the mcu due to its physical location
  * returns : 01110111 -> 11101110
  */
-u8 inline jornada_ssp_reverse(u8 byte)
+u8 jornada_ssp_reverse(u8 byte)
 {
 	return
 		((0x80 & byte) >> 7) |
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 14/21] arm64: delay: remove inline marking of EXPORT_SYMBOL functions
  2013-05-09 10:36 ` [PATCH 14/21] arm64: delay: remove inline marking of EXPORT_SYMBOL functions Denis Efremov
@ 2013-05-09 10:39   ` Catalin Marinas
  0 siblings, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2013-05-09 10:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, May 09, 2013 at 11:36:52AM +0100, Denis Efremov wrote:
> EXPORT_SYMBOL and inline directives are contradictory to each other.
> The patch fixes this inconsistency.
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Denis Efremov <yefremov.denis@gmail•com>
> ---
>  arch/arm64/lib/delay.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/lib/delay.c b/arch/arm64/lib/delay.c
> index dad4ec9..368ca15 100644
> --- a/arch/arm64/lib/delay.c
> +++ b/arch/arm64/lib/delay.c
> @@ -33,7 +33,7 @@ void __delay(unsigned long cycles)
>  }
>  EXPORT_SYMBOL(__delay);
>  
> -inline void __const_udelay(unsigned long xloops)
> +void __const_udelay(unsigned long xloops)
>  {
>  	unsigned long loops;

Acked-by: Catalin Marinas <catalin.marinas@arm•com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-09 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com>
2013-05-09 10:36 ` [PATCH 14/21] arm64: delay: remove inline marking of EXPORT_SYMBOL functions Denis Efremov
2013-05-09 10:39   ` Catalin Marinas
2013-05-09 10:36 ` [PATCH 21/21] ARM: " Denis Efremov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox