diff options
| author | Arnd Bergmann <[email protected]> | 2025-07-11 07:27:09 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-07-11 15:00:48 +0000 |
| commit | 6382c27389c266e90b31151a79d81fa6e122d2d6 (patch) | |
| tree | f6080beebd802c7a7c2cd1d648767a9017ba6e0e /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86/amd/hsmp: Enhance the print messages to prevent confusion (diff) | |
| download | kernel-6382c27389c266e90b31151a79d81fa6e122d2d6.tar.gz kernel-6382c27389c266e90b31151a79d81fa6e122d2d6.zip | |
platform/x86/intel/pmt/discovery: fix format string warning
When -Wformat-security is enabled, this new code triggers it:
drivers/platform/x86/intel/pmt/discovery.c: In function 'pmt_features_discovery':
drivers/platform/x86/intel/pmt/discovery.c:505:36: error: format not a string literal and no format arguments [-Werror=format-security]
505 | pmt_feature_names[feature->id]);
Fixes: d9a078809356 ("platform/x86/intel/pmt: Add PMT Discovery driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
