The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] readdir: Add missing quote in macro comment
@ 2024-06-02  0:47 Thorsten Blum
  2024-06-03 11:03 ` Jan Kara
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thorsten Blum @ 2024-06-02  0:47 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara
  Cc: linux-fsdevel, linux-kernel, Thorsten Blum

Add a missing double quote in the unsafe_copy_dirent_name() macro
comment.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
 fs/readdir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/readdir.c b/fs/readdir.c
index 278bc0254732..5045e32f1cb6 100644
--- a/fs/readdir.c
+++ b/fs/readdir.c
@@ -72,7 +72,7 @@ int wrap_directory_iterator(struct file *file,
 EXPORT_SYMBOL(wrap_directory_iterator);
 
 /*
- * Note the "unsafe_put_user() semantics: we goto a
+ * Note the "unsafe_put_user()" semantics: we goto a
  * label for errors.
  */
 #define unsafe_copy_dirent_name(_dst, _src, _len, label) do {	\
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] readdir: Add missing quote in macro comment
  2024-06-02  0:47 [PATCH] readdir: Add missing quote in macro comment Thorsten Blum
@ 2024-06-03 11:03 ` Jan Kara
  2024-06-03 13:49 ` Christian Brauner
  2024-06-03 22:13 ` Dave Chinner
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Kara @ 2024-06-03 11:03 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Alexander Viro, Christian Brauner, Jan Kara, linux-fsdevel,
	linux-kernel

On Sun 02-06-24 02:47:30, Thorsten Blum wrote:
> Add a missing double quote in the unsafe_copy_dirent_name() macro
> comment.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza

> ---
>  fs/readdir.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/readdir.c b/fs/readdir.c
> index 278bc0254732..5045e32f1cb6 100644
> --- a/fs/readdir.c
> +++ b/fs/readdir.c
> @@ -72,7 +72,7 @@ int wrap_directory_iterator(struct file *file,
>  EXPORT_SYMBOL(wrap_directory_iterator);
>  
>  /*
> - * Note the "unsafe_put_user() semantics: we goto a
> + * Note the "unsafe_put_user()" semantics: we goto a
>   * label for errors.
>   */
>  #define unsafe_copy_dirent_name(_dst, _src, _len, label) do {	\
> -- 
> 2.45.1
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] readdir: Add missing quote in macro comment
  2024-06-02  0:47 [PATCH] readdir: Add missing quote in macro comment Thorsten Blum
  2024-06-03 11:03 ` Jan Kara
@ 2024-06-03 13:49 ` Christian Brauner
  2024-06-03 22:13 ` Dave Chinner
  2 siblings, 0 replies; 4+ messages in thread
From: Christian Brauner @ 2024-06-03 13:49 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Christian Brauner, linux-fsdevel, linux-kernel, Alexander Viro,
	Jan Kara

On Sun, 02 Jun 2024 02:47:30 +0200, Thorsten Blum wrote:
> Add a missing double quote in the unsafe_copy_dirent_name() macro
> comment.
> 
> 

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] readdir: Add missing quote in macro comment
      https://git.kernel.org/vfs/vfs/c/1f9ccdf69c9f

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] readdir: Add missing quote in macro comment
  2024-06-02  0:47 [PATCH] readdir: Add missing quote in macro comment Thorsten Blum
  2024-06-03 11:03 ` Jan Kara
  2024-06-03 13:49 ` Christian Brauner
@ 2024-06-03 22:13 ` Dave Chinner
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Chinner @ 2024-06-03 22:13 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Alexander Viro, Christian Brauner, Jan Kara, linux-fsdevel,
	linux-kernel

On Sun, Jun 02, 2024 at 02:47:30AM +0200, Thorsten Blum wrote:
> Add a missing double quote in the unsafe_copy_dirent_name() macro
> comment.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
> ---
>  fs/readdir.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/readdir.c b/fs/readdir.c
> index 278bc0254732..5045e32f1cb6 100644
> --- a/fs/readdir.c
> +++ b/fs/readdir.c
> @@ -72,7 +72,7 @@ int wrap_directory_iterator(struct file *file,
>  EXPORT_SYMBOL(wrap_directory_iterator);
>  
>  /*
> - * Note the "unsafe_put_user() semantics: we goto a
> + * Note the "unsafe_put_user()" semantics: we goto a

No need for the quotes in the first place, so why not just remove
them altogether?

-Dave.
-- 
Dave Chinner
david@fromorbit.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-03 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02  0:47 [PATCH] readdir: Add missing quote in macro comment Thorsten Blum
2024-06-03 11:03 ` Jan Kara
2024-06-03 13:49 ` Christian Brauner
2024-06-03 22:13 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox