From 3805d59cc485998a7c6a37dfa4d60d7133bbffd4 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Wed, 20 May 2026 09:12:11 +0100 Subject: [PATCH] plugins/amdgpu: Demote one more error to warning Commit 1961c5e0de7e ("plugins/amdgpu: Cleanup env variable handling") converted some error logs into warnings under the rationale of failures not being fatal, but the execution continues with the default values. Convert one more such error to a warning, as pointed out by Copilot that makes things more consistent. Signed-off-by: Tvrtko Ursulin --- plugins/amdgpu/amdgpu_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/amdgpu/amdgpu_plugin.c b/plugins/amdgpu/amdgpu_plugin.c index 9d6e0284e..206e2c1f2 100644 --- a/plugins/amdgpu/amdgpu_plugin.c +++ b/plugins/amdgpu/amdgpu_plugin.c @@ -337,7 +337,7 @@ static size_t getenv_size_t(const char *var, size_t defvalue) errno = 0; val = (size_t)strtoul(value_str, &endp, 0); if (errno || value_str == endp) { - pr_err("Ignoring invalid value for %s=%s, expecting a positive integer\n", var, value_str); + pr_warn("Ignoring invalid value for %s=%s, expecting a positive integer\n", var, value_str); goto out; } switch (*endp) {