aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2023-10-04 11:19:15 -0700
committerHans de Goede <[email protected]>2023-10-11 11:20:16 +0200
commit4d73c6772ab771cbbe7e46a73e7c78ba490350fa (patch)
treed941fd7590bf0f97062ac9491c5f01fb22f9ffe8 /lib/test_fortify/write_overflow-strncpy-src.c
parenta4fdebbe062c0da3284e79641c2d5e67150f0daf (diff)
platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
When the current uncore frequency can't be read, don't create attribute "current_freq_khz" as any read will fail later. Some user space applications like turbostat fail to continue with the failure. So, check error during attribute creation. Fixes: 414eef27283a ("platform/x86/intel/uncore-freq: Display uncore current frequency") Signed-off-by: Srinivas Pandruvada <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions