Re: [PATCH] alloc_tag: avoid implicit padding in uapi

From: SJ Park

Date: Tue Sep 15 2026 - 21:10:22 EST


On Tue, 15 Sep 2026 22:23:47 +0200 Arnd Bergmann <arnd@xxxxxxxxxx> wrote:

> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The impliied padding causes a harmless warning when testing the uapi

s/impliied/implied/

> headers with -Wpadded that could in theory indicate incompatibilies or

s/incompatibilies/incompatibilities/

> data leaks:
>
> ./usr/include/linux/alloc_tag.h:41:1: error: padding struct size to alignment boundary with 7 bytes [-Werror=padded]
>
> The code here is fine, but it's better to make the padding explicit
> and avoid the warning here.

Typos are trivial and the change makes sense to me.

>
> Fixes: 1d581ab2348c ("alloc_tag: add ioctl to /proc/allocinfo")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: SJ Park <sj@xxxxxxxxxx>


Thanks,
SJ

[...]