Re: [PATCH] platform/x86/amd/pmf: fix compat ioctl handling
From: Ilpo Järvinen
Date: Fri Sep 18 2026 - 14:37:47 EST
On Tue, 15 Sep 2026 22:25:20 +0200, Arnd Bergmann wrote:
> Build testing with -Wpadded shows a structure that is incompatible
> between 32-bit and 64-bit x86 userspace:
>
> ./usr/include/linux/amd-pmf.h:202:1: error: padding struct size to alignment boundary with 4 bytes [-Werror=padded]
>
> Use the 64-bit padded on all architectures here to avoid both
> the warning and allow compat ioctl handling.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86/amd/pmf: fix compat ioctl handling
commit: ac523aa5562fd4761509a012a68d2462ccf6c921
--
i.