linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xarray: Clean up errors in xarray.h
@ 2023-09-27  6:07 chenguohua
  0 siblings, 0 replies; 3+ messages in thread
From: chenguohua @ 2023-09-27  6:07 UTC (permalink / raw)
  To: willy; +Cc: linux-fsdevel, linux-kernel

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: JiangHui Xu <xujianghui@cdjrlc.com>
---
 include/linux/xarray.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/xarray.h b/include/linux/xarray.h
index cb571dfcf4b1..4909357b7e2a 100644
--- a/include/linux/xarray.h
+++ b/include/linux/xarray.h
@@ -297,7 +297,7 @@ struct xarray {
 	spinlock_t	xa_lock;
 /* private: The rest of the data structure is not to be used directly. */
 	gfp_t		xa_flags;
-	void __rcu *	xa_head;
+	void __rcu *xa_head;
 };
 
 #define XARRAY_INIT(name, flags) {				\
-- 
2.17.1

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

* [PATCH] xarray: Clean up errors in xarray.h
@ 2023-09-27  6:12 chenguohua
  2023-09-27  6:55 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: chenguohua @ 2023-09-27  6:12 UTC (permalink / raw)
  To: willy; +Cc: linux-fsdevel, linux-kernel

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
 include/linux/xarray.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/xarray.h b/include/linux/xarray.h
index cb571dfcf4b1..4909357b7e2a 100644
--- a/include/linux/xarray.h
+++ b/include/linux/xarray.h
@@ -297,7 +297,7 @@ struct xarray {
 	spinlock_t	xa_lock;
 /* private: The rest of the data structure is not to be used directly. */
 	gfp_t		xa_flags;
-	void __rcu *	xa_head;
+	void __rcu *xa_head;
 };
 
 #define XARRAY_INIT(name, flags) {				\
-- 
2.17.1

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

* Re: [PATCH] xarray: Clean up errors in xarray.h
  2023-09-27  6:12 [PATCH] xarray: Clean up errors in xarray.h chenguohua
@ 2023-09-27  6:55 ` Matthew Wilcox
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2023-09-27  6:55 UTC (permalink / raw)
  To: chenguohua; +Cc: linux-fsdevel, linux-kernel

On Wed, Sep 27, 2023 at 02:12:35PM +0800, chenguohua@jari.cn wrote:
> Fix the following errors reported by checkpatch:
> 
> ERROR: "foo * bar" should be "foo *bar"

Checkpatch is wrong.  It's just a stupid script.  Can't you use your
brain to look at the code you're changing and understand why it's laid
out like that?

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

end of thread, other threads:[~2023-09-27  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27  6:12 [PATCH] xarray: Clean up errors in xarray.h chenguohua
2023-09-27  6:55 ` Matthew Wilcox
  -- strict thread matches above, loose matches on Subject: below --
2023-09-27  6:07 chenguohua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).