Re: [PATCH 4.14 00/46] 4.14.184-rc1 review

From: Naresh Kamboju
Date: Tue Jun 09 2020 - 15:04:57 EST


On Tue, 9 Jun 2020 at 23:19, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This is the start of the stable review cycle for the 4.14.184 release.
> There are 46 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 11 Jun 2020 17:40:01 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.184-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:
>
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Linux 4.14.184-rc1
>
> Oleg Nesterov <oleg@xxxxxxxxxx>
> uprobes: ensure that uprobe->offset and ->ref_ctr_offset are properly aligned

stable-rc 4.14 build failure for x86_64, i386 and arm.

make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=x86 HOSTCC=gcc
CC="sccache gcc" O=build

In file included from ../kernel/events/uprobes.c:25:
../kernel/events/uprobes.c: In function âuprobe_registerâ:
../kernel/events/uprobes.c:899:18: error: âref_ctr_offsetâ undeclared
(first use in this function); did you mean âper_cpu_offsetâ?
899 | if (!IS_ALIGNED(ref_ctr_offset, sizeof(short)))
| ^~~~~~~~~~~~~~
../include/linux/kernel.h:61:30: note: in definition of macro âIS_ALIGNEDâ
61 | #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)
| ^
../kernel/events/uprobes.c:899:18: note: each undeclared identifier
is reported only once for each function it appears in
899 | if (!IS_ALIGNED(ref_ctr_offset, sizeof(short)))
| ^~~~~~~~~~~~~~
../include/linux/kernel.h:61:30: note: in definition of macro âIS_ALIGNEDâ
61 | #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)
| ^

--
Linaro LKFT
https://lkft.linaro.org