You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We cannot just uname these unused parameters because gcc 10
need them. There will be error like below with gcc 10:
lib/copydir.c:103:11: error: parameter name omitted
The Debian bullseye uses gcc 10 by default.
Most of the changes are done manually. Some changes in tests/unit
are done via the following shell command:
sed -i -e 's#void \*\*#MAYBE_UNUSED void \*\* _1#g' tests/unit/test_*.c
Closes: <#1530>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Cherry-picked-from: cb0ec03 (2026-03-02; "Fix build failure on hosts with gcc 10")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
0 commit comments