nds32: Fix compiler warning, Wstringop-overflow, in vdso.c
authorVincent Chen <vincentc@andestech.com>
Mon, 21 May 2018 06:36:22 +0000 (14:36 +0800)
committerGreentime Hu <greentime@andestech.com>
Wed, 23 May 2018 05:26:22 +0000 (13:26 +0800)
commita30e7d1e37e8acc37c25420d93af218166cca3ae
treefe7b88448fdecb472cd5b0f377a7790dcae54604
parentaaaaba57509526ce924f997d8690ee9e0c93945a
nds32: Fix compiler warning, Wstringop-overflow, in vdso.c

Getting a compiler warning, Wstringop-overflow, in
arch/nds32/kernel/vdso.c when kernel is built by gcc-8. Declaring
vdso_start and vdso_end as a pointer to fix this compiler warning.

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Reviewed-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/vdso.c