diff mbox series

xarray: Clean up errors in xarray.h

Message ID 4f35bcee.861.18ad5449079.Coremail.chenguohua@jari.cn (mailing list archive)
State New, archived
Headers show
Series xarray: Clean up errors in xarray.h | expand

Commit Message

chenguohua@jari.cn Sept. 27, 2023, 6:12 a.m. UTC
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(-)

Comments

Matthew Wilcox Sept. 27, 2023, 6:55 a.m. UTC | #1
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?
diff mbox series

Patch

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) {				\