[PATCH] nvmet: Fix warnings given by checkpatch
Rohit Chavan
roheetchavan at gmail.com
Wed Sep 18 01:11:34 PDT 2024
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 line
drivers/nvme/target/debugfs.h:35
Signed-off-by: Rohit Chavan <roheetchavan at gmail.com>
---
drivers/nvme/target/debugfs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/nvme/target/debugfs.h b/drivers/nvme/target/debugfs.h
index cfb8bbf6a297..166de8c7fc49 100644
--- a/drivers/nvme/target/debugfs.h
+++ b/drivers/nvme/target/debugfs.h
@@ -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) {}
--
2.34.1
More information about the Linux-nvme
mailing list