From 6401d768b9937083bbd28998769309330a495c44 Mon Sep 17 00:00:00 2001 From: Mark Janes Date: Mon, 1 Aug 2022 15:46:24 -0700 Subject: [PATCH] intel/dev: drop warning for unhandled hwconfig keys The hwconfig api may change unexpectedly prior to public release of new platforms. Also, public documentation of the hwconfig api sometimes lags the release. For these reasons, warnings about unhandled hwconfig keys are noisy, likely to occur, and unhelpful to most users. This commit drops those warnings, in favor of a separate internal process for tracking hwconfig api changes. Suggested-by: Jordan Justen Reviewed-by: Jordan Justen Part-of: --- src/intel/dev/intel_hwconfig.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/intel/dev/intel_hwconfig.c b/src/intel/dev/intel_hwconfig.c index 8d7b0ff5305..2dc52c2ff08 100644 --- a/src/intel/dev/intel_hwconfig.c +++ b/src/intel/dev/intel_hwconfig.c @@ -265,10 +265,8 @@ apply_hwconfig_item(struct intel_device_info *devinfo, case INTEL_HWCONFIG_MAX_EU_PER_SUBSLICE: case INTEL_HWCONFIG_RAMBO_L3_BANK_SIZE_IN_KB: case INTEL_HWCONFIG_SLM_SIZE_PER_SS_IN_KB: - break; /* ignore */ default: - fprintf(stderr, "hwconfig key %d (%s) unhandled!\n", item->key, - key_to_name(item->key)); + break; /* ignore */ } }