diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-05-25 10:27:15 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-05-26 21:06:12 +0200 |
| commit | 638b4816135c3b3426fed2e1b8834acec3fc831c (patch) | |
| tree | ee921929ed3e3e980566e826933f5e5a992991e7 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | 835fa43a4d36bd66ad0dd052f9fa15f7bd365fa8 (diff) | |
tools/nolibc: cast default values of program_invocation_name
With -Wwrite-strings the plain assignment triggers a warning as a
'const char *' is assigned to a 'char *', removing the const qualifier.
Casting the const away is fine, as there is no valid modification that
can be done to an empty string anyways.
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-1-ab5cc16c7b23@weissschuh.net
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
