2020-11-27 08:45:02

by Hauke Mehrtens

[permalink] [raw]
Subject: stable backport of "wireless: Use linux/stddef.h instead of stddef.h"

Hi,

Please backport "wireless: Use linux/stddef.h instead of stddef.h" to
kernel 4.14, 4.19 and 5.4.
This is upstream commit id 1b9ae0c92925ac40489be526d67d0010d0724ce0
https://git.kernel.org/linus/1b9ae0c92925ac40489be526d67d0010d0724ce0

commit 1b9ae0c92925ac40489be526d67d0010d0724ce0
Author: Hauke Mehrtens <[email protected]>
Date: Thu May 21 22:14:22 2020 +0200

wireless: Use linux/stddef.h instead of stddef.h

This patch fixes a build problem in broken build environments which was
introduced with 6989310f5d43 ("wireless: Use offsetof instead of custom
macro.") which was backported to the listed kernel versions.

When the include path is fully correct you should not hit this problem,
but I got it because of some bug in by build system and also someone
else reported a similar problem to me and requested this backport.

Hauke


Attachments:
OpenPGP_signature (499.00 B)
OpenPGP digital signature

2020-11-27 13:27:34

by Greg KH

[permalink] [raw]
Subject: Re: stable backport of "wireless: Use linux/stddef.h instead of stddef.h"

On Fri, Nov 27, 2020 at 12:04:00AM +0100, Hauke Mehrtens wrote:
> Hi,
>
> Please backport "wireless: Use linux/stddef.h instead of stddef.h" to kernel
> 4.14, 4.19 and 5.4.
> This is upstream commit id 1b9ae0c92925ac40489be526d67d0010d0724ce0
> https://git.kernel.org/linus/1b9ae0c92925ac40489be526d67d0010d0724ce0
>
> commit 1b9ae0c92925ac40489be526d67d0010d0724ce0
> Author: Hauke Mehrtens <[email protected]>
> Date: Thu May 21 22:14:22 2020 +0200
>
> wireless: Use linux/stddef.h instead of stddef.h
>
> This patch fixes a build problem in broken build environments which was
> introduced with 6989310f5d43 ("wireless: Use offsetof instead of custom
> macro.") which was backported to the listed kernel versions.
>
> When the include path is fully correct you should not hit this problem, but
> I got it because of some bug in by build system and also someone else
> reported a similar problem to me and requested this backport.

Now queued up, thanks.

greg k-h