From: Denis Efremov Date: Thu, 9 May 2013 10:36:58 +0000 (+0400) Subject: powerpc/ps3: Remove inline marking of EXPORT_SYMBOL functions X-Git-Tag: v3.14-rc1~80^2~75 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e9419669faacf90e7a4e648d38f61c067a47c0ff;p=~emulex%2Finfiniband.git powerpc/ps3: Remove inline marking of EXPORT_SYMBOL functions 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 Acked-by: Geoff Levand Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/ps3/spu.c b/arch/powerpc/platforms/ps3/spu.c index e17fa1432d8..a0bca05e26b 100644 --- a/arch/powerpc/platforms/ps3/spu.c +++ b/arch/powerpc/platforms/ps3/spu.c @@ -143,7 +143,7 @@ static void _dump_areas(unsigned int spe_id, unsigned long priv2, pr_debug("%s:%d: shadow: %lxh\n", func, line, shadow); } -inline u64 ps3_get_spe_id(void *arg) +u64 ps3_get_spe_id(void *arg) { return spu_pdata(arg)->spe_id; }