* [PATCH V2] doc: fix typo in botching up ioctls
@ 2022-12-30 17:23 Federico Vaga
2022-12-30 20:22 ` Randy Dunlap
2023-01-11 22:47 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Federico Vaga @ 2022-12-30 17:23 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Federico Vaga, linux-doc, linux-kernel
The type contained a typo `uintprt` -> `uintptr`
Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
---
Documentation/process/botching-up-ioctls.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
v1 -> v2 fix the typo in the commit message
diff --git a/Documentation/process/botching-up-ioctls.rst b/Documentation/process/botching-up-ioctls.rst
index ba4667ab396b..9739b88463a5 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
--
2.30.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V2] doc: fix typo in botching up ioctls
2022-12-30 17:23 [PATCH V2] doc: fix typo in botching up ioctls Federico Vaga
@ 2022-12-30 20:22 ` Randy Dunlap
2023-01-11 22:47 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2022-12-30 20:22 UTC (permalink / raw)
To: Federico Vaga, Jonathan Corbet; +Cc: linux-doc, linux-kernel
On 12/30/22 09:23, Federico Vaga wrote:
> The type contained a typo `uintprt` -> `uintptr`
>
> Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> Documentation/process/botching-up-ioctls.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> v1 -> v2 fix the typo in the commit message
>
> diff --git a/Documentation/process/botching-up-ioctls.rst b/Documentation/process/botching-up-ioctls.rst
> index ba4667ab396b..9739b88463a5 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
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V2] doc: fix typo in botching up ioctls
2022-12-30 17:23 [PATCH V2] doc: fix typo in botching up ioctls Federico Vaga
2022-12-30 20:22 ` Randy Dunlap
@ 2023-01-11 22:47 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2023-01-11 22:47 UTC (permalink / raw)
To: Federico Vaga; +Cc: Federico Vaga, linux-doc, linux-kernel
Federico Vaga <federico.vaga@vaga.pv.it> writes:
> The type contained a typo `uintprt` -> `uintptr`
>
> Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
> ---
> Documentation/process/botching-up-ioctls.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> v1 -> v2 fix the typo in the commit message
>
> diff --git a/Documentation/process/botching-up-ioctls.rst b/Documentation/process/botching-up-ioctls.rst
> index ba4667ab396b..9739b88463a5 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
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-11 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-30 17:23 [PATCH V2] doc: fix typo in botching up ioctls Federico Vaga
2022-12-30 20:22 ` Randy Dunlap
2023-01-11 22:47 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®