linux-mips
[Top] [All Lists]

[PATCH 19/21] MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL func

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 19/21] MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions
From: Denis Efremov <yefremov.denis@gmail.com>
Date: Thu, 9 May 2013 14:36:57 +0400
Cc: Denis Efremov <yefremov.denis@gmail.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, trivial@kernel.org, ldv-project@linuxtesting.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=trIumjYMNdGX1CaoE0mYiPoBfMlLaWZiF32A/mFVVwU=; b=RbHGRP/dbM8U9/yiJ4edQ5aQ8MNUcMGQwWAQ9+mrAwjNeyaCAVep/aMkHhUf7tAKLJ HE1LVzWZsEC/Q99QteCYga1H9vYWIohdzm1VkVdZEQeNPy/kKdpbMgBU7TMNhXdd0RYb 0lv6qs0MJk8vbspR3qgM/X6ZD/6X74miC9Nzf9icybEi0AZnmvW3skdX535Mn0wKnXmV e3W3IioeJeYr1BcSA1jvEDibfqN7UduLo7SCj8jBgBy9NOtl0sVdLRESmYoOtbvfmkqN 6Gm/N7LLO8DPnVzthPXIJkIQQHbssnUH9TE/q6uh6yoJMRQfaMosyaJs7ZkOL3tPKcOC 7VRw==
In-reply-to: <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
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/mips/pmcs-msp71xx/msp_prom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/pmcs-msp71xx/msp_prom.c 
b/arch/mips/pmcs-msp71xx/msp_prom.c
index 0edb89a..1c98975 100644
--- a/arch/mips/pmcs-msp71xx/msp_prom.c
+++ b/arch/mips/pmcs-msp71xx/msp_prom.c
@@ -83,7 +83,7 @@ static inline unsigned char str2hexnum(unsigned char c)
        return 0; /* foo */
 }
 
-static inline int str2eaddr(unsigned char *ea, unsigned char *str)
+int str2eaddr(unsigned char *ea, unsigned char *str)
 {
        int index = 0;
        unsigned char num = 0;
-- 
1.8.1.4


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 19/21] MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions, Denis Efremov <=