nvmet: Fix warnings given by checkpatch
Subsystems (2)
PATCH 1/1 nvmet: Fix warnings given by checkpatch
This patch addresses below issues produced by checkpatch script.
ERROR: space required before the open brace '{'drivers/nvme/target/debugfs.h:25
WARNING: please, no spaces at the start of a linedrivers/nvme/target/debugfs.h:35
Signed-off-by Rohit Chavan <[email protected]>
--- drivers/nvme/target/debugfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/nvme/target/debugfs.h +2 -2
@@ -22,7 +22,7 @@ static inline int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys) {return 0 ; } -static inline void nvmet_debugfs_subsys_free (struct nvmet_subsys *subsys){} +static inline void nvmet_debugfs_subsys_free (struct nvmet_subsys *subsys) {}static inline int nvmet_debugfs_ctrl_setup (struct nvmet_ctrl *ctrl) {
@@ -32,7 +32,7 @@ static inline void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl) {}static inline int __init nvmet_init_debugfs (void ) { -return 0 ; +return 0 ; }static inline void nvmet_exit_debugfs (void ) {}
Signature · 1 line
2.34.1
Christoph Hellwig
maintainerPlease don't waste peoples time by sending checkpatch cleanups.
Good coding style is nice to have, but unless you do actualy substantial work in the area that has issues it's just churn that creates work.