diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-18 13:19:58 +0300 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-27 21:08:54 +0300 |
| commit | c503c3deb9b56645413d8f8560dcc24efe7cea59 (patch) | |
| tree | ecb1078f987c841be26fdd06b2237288960436a9 /include/linux/stacktrace.h | |
| parent | 32db83195f75bda670ca9282d9868ad02b1d6185 (diff) | |
| download | linux-c503c3deb9b56645413d8f8560dcc24efe7cea59.tar.xz | |
tools/nolibc: cast pointers returned from system calls through integers
Currently all system call wrappers return 'long' integers which can be
directly cast to 'void *' if the returned value is actually a pointer.
An upcoming change will change the system call wrappers to sometimes
return 'long long' which can not be cast to a pointer directly.
Add explicit cast through 'long' to prepare for this.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260418-nolibc-largefile-v1-3-b91f0775bac3@weissschuh.net
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
