mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: android/android-4.4 build: 210 builds: 0 failed, 210 passed, 6 warnings (ASB-2017-10-5_4.4-o-release-513-gec888d46d899)
       [not found] <59e5405c.9b88df0a.6da25.e5df@mx.google.com>
@ 2017-10-17  8:51 ` Arnd Bergmann
  2017-10-17 14:36   ` gregkh
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2017-10-17  8:51 UTC (permalink / raw)
  To: kernelci.org bot
  Cc: Tom Gall, Sumit Semwal, Amit Pundir, Arnd Bergmann, Anmar Oueja,
	gregkh, Linux Kernel Mailing List

On Tue, Oct 17, 2017 at 1:27 AM, kernelci.org bot <bot@kernelci.org> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: android/android-4.4 build: 210 builds: 0 failed, 210 passed, 6 warnings (ASB-2017-10-5_4.4-o-release-513-gec888d46d899)
  2017-10-17  8:51 ` android/android-4.4 build: 210 builds: 0 failed, 210 passed, 6 warnings (ASB-2017-10-5_4.4-o-release-513-gec888d46d899) Arnd Bergmann
@ 2017-10-17 14:36   ` gregkh
  2017-10-17 16:08     ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: gregkh @ 2017-10-17 14:36 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kernelci.org bot, Tom Gall, Sumit Semwal, Amit Pundir,
	Arnd Bergmann, Anmar Oueja, Linux Kernel Mailing List

On Tue, Oct 17, 2017 at 10:51:22AM +0200, Arnd Bergmann wrote:
> On Tue, Oct 17, 2017 at 1:27 AM, kernelci.org bot <bot@kernelci.org> 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.

If you can backport the fix, I'll take it.  As it is, it doesn't apply
cleanly.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: android/android-4.4 build: 210 builds: 0 failed, 210 passed, 6 warnings (ASB-2017-10-5_4.4-o-release-513-gec888d46d899)
  2017-10-17 14:36   ` gregkh
@ 2017-10-17 16:08     ` Arnd Bergmann
  0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2017-10-17 16:08 UTC (permalink / raw)
  To: gregkh
  Cc: kernelci.org bot, Tom Gall, Sumit Semwal, Amit Pundir,
	Arnd Bergmann, Anmar Oueja, Linux Kernel Mailing List

On Tue, Oct 17, 2017 at 4:36 PM, gregkh <gregkh@linuxfoundation.org> wrote:
> On Tue, Oct 17, 2017 at 10:51:22AM +0200, Arnd Bergmann wrote:
>> On Tue, Oct 17, 2017 at 1:27 AM, kernelci.org bot <bot@kernelci.org> 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.
>
> If you can backport the fix, I'll take it.  As it is, it doesn't apply
> cleanly.

I've sent a patch now. From what I found, none of the stable kernels
need the fix. You had applied the patch I sent some time ago on the
android-4.9 kernel. The same patch fixes the problem for me on the
android-4.4 kernel and applies cleanly, just not on the stable-4.4 kernel
that doesn't need it in the first place.

       Arnd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-17 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <59e5405c.9b88df0a.6da25.e5df@mx.google.com>
2017-10-17  8:51 ` android/android-4.4 build: 210 builds: 0 failed, 210 passed, 6 warnings (ASB-2017-10-5_4.4-o-release-513-gec888d46d899) Arnd Bergmann
2017-10-17 14:36   ` gregkh
2017-10-17 16:08     ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®