xarray: Clean up errors in xarray.h
PATCH 1/1 xarray: Clean up errors in xarray.h
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by GuoHua Cheng <[email protected]>
--- include/linux/xarray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/xarray.h +1 -1
@@ -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) { \
Signature · 1 line
2.17.1
Matthew Wilcox
maintainerQuoted 3 lines · On Wed, Sep 27, 2023 at 02:12:35PM +0800, [email protected] 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?