aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/process
diff options
context:
space:
mode:
authorFederico Vaga <federico.vaga@vaga.pv.it>2022-12-30 18:23:28 +0100
committerJonathan Corbet <corbet@lwn.net>2023-01-13 09:26:19 -0700
commit533797974d101075c9fc92381c1f73ccdb23b924 (patch)
tree3acf95112269696f376766a187bcb00fd4467ac9 /Documentation/process
parent6a5eb779478ee43e88c05dd7ae0477ab13517363 (diff)
downloadlinux-533797974d101075c9fc92381c1f73ccdb23b924.tar.gz
doc: fix typo in botching up ioctls
The type contained a typo `uintprt` -> `uintptr` Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20221230172328.58612-1-federico.vaga@vaga.pv.it Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/process')
-rw-r--r--Documentation/process/botching-up-ioctls.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/process/botching-up-ioctls.rst b/Documentation/process/botching-up-ioctls.rst
index ba4667ab396b61..9739b88463a5f0 100644
--- a/Documentation/process/botching-up-ioctls.rst
+++ b/Documentation/process/botching-up-ioctls.rst
@@ -41,7 +41,7 @@ will need to add a 32-bit compat layer:
structures to the kernel, or if the kernel checks the structure size, which
e.g. the drm core does.
- * Pointers are __u64, cast from/to a uintprt_t on the userspace side and
+ * Pointers are __u64, cast from/to a uintptr_t on the userspace side and
from/to a void __user * in the kernel. Try really hard not to delay this
conversion or worse, fiddle the raw __u64 through your code since that
diminishes the checking tools like sparse can provide. The macro