diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-09-15 22:25:20 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-09-18 21:01:03 +0300 |
| commit | ac523aa5562fd4761509a012a68d2462ccf6c921 (patch) | |
| tree | 512344fcdf76eae774e848178827621392a98e11 /tools/perf/scripts/python | |
| parent | d95982b2ea3453998466efe1e7e06fee7392e800 (diff) | |
| download | linux-next-ac523aa5562fd4761509a012a68d2462ccf6c921.tar.gz linux-next-ac523aa5562fd4761509a012a68d2462ccf6c921.zip | |
platform/x86/amd/pmf: fix compat ioctl handling
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.
Fixes: 98432eec3180 ("platform/x86/amd/pmf: Add util layer and userspace character device interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260915202535.3689880-1-arnd@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
