diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-05-25 10:27:16 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-05-26 21:06:18 +0200 |
| commit | bfa093f12cce76141ea83283a9c8cec3874d208e (patch) | |
| tree | f3e3b3cc21a4eb54edb1fcec703b9c8fdc104f69 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | 638b4816135c3b3426fed2e1b8834acec3fc831c (diff) | |
selftests/nolibc: use mutable buffer for execve() argv string
The existing code would trigger a warning under -Wwrite-strings which is
about to be enabled. Use a mutable buffer instead. While in this
specific case, casting away the 'const' would be fine, let's avoid casts
which are not really necessary.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260525-nolibc-write-strings-v2-2-ab5cc16c7b23@weissschuh.net
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
