plugins/amdgpu: Demote one more error to warning

Commit
1961c5e0de ("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 <tvrtko.ursulin@igalia.com>
This commit is contained in:
Tvrtko Ursulin 2026-05-20 09:12:11 +01:00 committed by Andrei Vagin
parent 71be2f42ea
commit 3805d59cc4

View file

@ -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) {