summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-04-18 12:19:58 +0200
committerThomas Weißschuh <linux@weissschuh.net>2026-04-27 20:08:54 +0200
commitc503c3deb9b56645413d8f8560dcc24efe7cea59 (patch)
treeecb1078f987c841be26fdd06b2237288960436a9 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent32db83195f75bda670ca9282d9868ad02b1d6185 (diff)
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 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions