[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240918132939.10127-1-andreas.kuehn@diekuehnen.com>
Date: Wed, 18 Sep 2024 15:29:35 +0200
From: Andreas Kühn <andreas.kuehn@...kuehnen.com>
To: kbusch@...nel.org,
axboe@...nel.dk,
hch@....de,
sagi@...mberg.me
Cc: Andreas Kühn <andreas.kuehn@...kuehnen.com>,
linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] nvme: Open brace following function definition on next line
Open brace following function definition go on the next line. Fix it.
Signed-off-by: Andreas Kühn <andreas.kuehn@...kuehnen.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
Powered by blists - more mailing lists