Re: [PATCH 2/4] arm64: hide more compat_vdso code

2020-10-29 Thread Dmitry Safonov
On 10/29/20 1:35 PM, Arnd Bergmann wrote: > On Mon, Oct 26, 2020 at 5:55 PM Mark Rutland wrote: >> On Mon, Oct 26, 2020 at 05:03:29PM +0100, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> When CONFIG_COMPAT_VDSO is disabled, we get a warning >>> about a potential out-of-bounds access: >>>

Re: [PATCH 2/4] arm64: hide more compat_vdso code

2020-10-29 Thread Arnd Bergmann
On Mon, Oct 26, 2020 at 5:55 PM Mark Rutland wrote: > On Mon, Oct 26, 2020 at 05:03:29PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > When CONFIG_COMPAT_VDSO is disabled, we get a warning > > about a potential out-of-bounds access: > > > > arch/arm64/kernel/vdso.c: In function

Re: [PATCH 2/4] arm64: hide more compat_vdso code

2020-10-26 Thread Mark Rutland
On Mon, Oct 26, 2020 at 05:03:29PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > When CONFIG_COMPAT_VDSO is disabled, we get a warning > about a potential out-of-bounds access: > > arch/arm64/kernel/vdso.c: In function 'aarch32_vdso_mremap': > arch/arm64/kernel/vdso.c:86:37: warning:

[PATCH 2/4] arm64: hide more compat_vdso code

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann When CONFIG_COMPAT_VDSO is disabled, we get a warning about a potential out-of-bounds access: arch/arm64/kernel/vdso.c: In function 'aarch32_vdso_mremap': arch/arm64/kernel/vdso.c:86:37: warning: array subscript 1 is above array bounds of 'struct vdso_abi_info[1]'