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