diff mbox series

[3/3] hexagon: export csum_partial_copy_nocheck

Message ID 20180406142832.2243021-3-arnd@arndb.de
State New
Headers show
Series [1/3] hexagon: fix ffz/fls/ffs return type | expand

Commit Message

Arnd Bergmann April 6, 2018, 2:28 p.m. UTC
This is needed to link ipv6 as a loadable module, which in turn happens
in allmodconfig.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 arch/hexagon/lib/checksum.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.0

Comments

Richard Kuo April 8, 2018, 1:32 a.m. UTC | #1
On Fri, Apr 06, 2018 at 04:28:23PM +0200, Arnd Bergmann wrote:
> This is needed to link ipv6 as a loadable module, which in turn happens

> in allmodconfig.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

> ---

>  arch/hexagon/lib/checksum.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/arch/hexagon/lib/checksum.c b/arch/hexagon/lib/checksum.c

> index 617506d1a559..7cd0a2259269 100644

> --- a/arch/hexagon/lib/checksum.c

> +++ b/arch/hexagon/lib/checksum.c

> @@ -199,3 +199,4 @@ csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum)

>  	memcpy(dst, src, len);

>  	return csum_partial(dst, len, sum);

>  }

> +EXPORT_SYMBOL(csum_partial_copy_nocheck);


Acked-by: Richard Kuo <rkuo@codeaurora.org>


-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, 
a Linux Foundation Collaborative Project
Arnd Bergmann April 10, 2018, 6:33 a.m. UTC | #2
On Sun, Apr 8, 2018 at 3:32 AM, Richard Kuo <rkuo@codeaurora.org> wrote:
> On Fri, Apr 06, 2018 at 04:28:23PM +0200, Arnd Bergmann wrote:

>> This is needed to link ipv6 as a loadable module, which in turn happens

>> in allmodconfig.

>>

>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

>> ---

>>  arch/hexagon/lib/checksum.c | 1 +

>>  1 file changed, 1 insertion(+)

>>

>> diff --git a/arch/hexagon/lib/checksum.c b/arch/hexagon/lib/checksum.c

>> index 617506d1a559..7cd0a2259269 100644

>> --- a/arch/hexagon/lib/checksum.c

>> +++ b/arch/hexagon/lib/checksum.c

>> @@ -199,3 +199,4 @@ csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum)

>>       memcpy(dst, src, len);

>>       return csum_partial(dst, len, sum);

>>  }

>> +EXPORT_SYMBOL(csum_partial_copy_nocheck);

>

> Acked-by: Richard Kuo <rkuo@codeaurora.org>


Can you take the two patches you acked through your tree? They are not urgent,
but with those applied, I got very close to building an allmodconfig
kernel without
warnings, using the toolchain I uploaded to
https://cdn.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.1/

        Arnd
diff mbox series

Patch

diff --git a/arch/hexagon/lib/checksum.c b/arch/hexagon/lib/checksum.c
index 617506d1a559..7cd0a2259269 100644
--- a/arch/hexagon/lib/checksum.c
+++ b/arch/hexagon/lib/checksum.c
@@ -199,3 +199,4 @@  csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum)
 	memcpy(dst, src, len);
 	return csum_partial(dst, len, sum);
 }
+EXPORT_SYMBOL(csum_partial_copy_nocheck);