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-10-13 11:45:02 +0300 |
| commit | 655d731c391ec3912503b91ecf6269883b13e0c2 (patch) | |
| tree | 6f4522b0f895bc4588b13cfdc0375ada0a09b788 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 39150ae3cb062395b6632e4f4f326361c267a962 (diff) | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
