Re: android/android-4.4 build: 210 builds: 0 failed, 210 passed, 6 warnings (ASB-2017-10-5_4.4-o-release-513-gec888d46d899)

From: Arnd Bergmann
Date: Tue Oct 17 2017 - 04:51:33 EST


On Tue, Oct 17, 2017 at 1:27 AM, kernelci.org bot <bot@xxxxxxxxxxxx> wrote:
>
>
> Warnings summary:
>
> 1 net/wireless/nl80211.c:5096:1: warning: the frame size of 2064 bytes is larger than 2048 bytes [-Wframe-larger-than=]
> 1 net/wireless/nl80211.c:3859:1: warning: the frame size of 2168 bytes is larger than 2048 bytes [-Wframe-larger-than=]
> 1 net/wireless/nl80211.c:1728:1: warning: the frame size of 5640 bytes is larger than 2048 bytes [-Wframe-larger-than=]

Hi Greg,

I saw you backported my fix for this is to stable/linux-4.9.y, but I
don't see it
in 4.4.y. Can you add it here as well, or do you want help resolving a conflict?

The upstream commit is b4391db42308 ("netlink: fix
nla_put_{u8,u16,u32} for KASAN")

> 1 drivers/platform/goldfish/goldfish_pipe_v2.c:340:1: warning: the frame size of 2736 bytes is larger than 2048 bytes [-Wframe-larger-than=]
> 1 drivers/platform/goldfish/goldfish_pipe_v2.c:340:1: warning: the frame size of 2720 bytes is larger than 2048 bytes [-Wframe-larger-than=]
> 1 drivers/platform/goldfish/goldfish_pipe_v2.c:340:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]

This is then the only remaining warning in 4.4. We've discussed it a few times
before but not concluded on how to best fix it. The warning exists only in
the android trees, mainline and stable don't have it.

Arnd