[PATCH 0/2][next] Expand TRAILING_OVERLAP() capabilities

Gustavo A. R. Silva posted 2 patches 2 weeks ago
include/linux/stddef.h | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
[PATCH 0/2][next] Expand TRAILING_OVERLAP() capabilities
Posted by Gustavo A. R. Silva 2 weeks ago
Small series aimed at expanding TRAILING_OVERLAP() capabilities.

Gustavo A. R. Silva (2):
  stddef: Remove token-pasting in TRAILING_OVERLAP()
  stddef: Introduce __TRAILING_OVERLAP()

 include/linux/stddef.h | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2][next] Expand TRAILING_OVERLAP() capabilities
Posted by Kees Cook 2 weeks ago
On Wed, 17 Sep 2025 15:25:44 +0200, Gustavo A. R. Silva wrote:
> Small series aimed at expanding TRAILING_OVERLAP() capabilities.
> 
> Gustavo A. R. Silva (2):
>   stddef: Remove token-pasting in TRAILING_OVERLAP()
>   stddef: Introduce __TRAILING_OVERLAP()
> 
> include/linux/stddef.h | 24 ++++++++++++++++++++----
>  1 file changed, 20 insertions(+), 4 deletions(-)
> 
> [...]

Applied to for-next/hardening, thanks!

[1/2] stddef: Remove token-pasting in TRAILING_OVERLAP()
      https://git.kernel.org/kees/c/413187f79062
[2/2] stddef: Introduce __TRAILING_OVERLAP()
      https://git.kernel.org/kees/c/2bbdcf02c3f3

Take care,

-- 
Kees Cook