[PATCH] nvme: Open brace following function definition on next line

Andreas Kühn andreas.kuehn at diekuehnen.com
Wed Sep 18 06:29:35 PDT 2024


Open brace following function definition go on the next line. Fix it.

Signed-off-by: Andreas Kühn <andreas.kuehn at diekuehnen.com>
---
 drivers/nvme/host/constants.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/nvme/host/constants.c b/drivers/nvme/host/constants.c
index 2b9e6cfaf2a8..66d6158822c5 100644
--- a/drivers/nvme/host/constants.c
+++ b/drivers/nvme/host/constants.c
@@ -195,7 +195,8 @@ const char *nvme_get_admin_opcode_str(u8 opcode)
 }
 EXPORT_SYMBOL_GPL(nvme_get_admin_opcode_str);
 
-const char *nvme_get_fabrics_opcode_str(u8 opcode) {
+const char *nvme_get_fabrics_opcode_str(u8 opcode)
+{
 	if (opcode < ARRAY_SIZE(nvme_fabrics_ops) && nvme_fabrics_ops[opcode])
 		return nvme_fabrics_ops[opcode];
 	return "Unknown";
-- 
2.43.0




More information about the Linux-nvme mailing list