summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWatson Wheeler <git@tazy.dev>2026-06-23 16:17:12 +1000
committerAndrew Morton <akpm@linux-foundation.org>2026-07-26 22:49:07 -0700
commit37dc43726347a619699bc4b8288d0b545c7fe207 (patch)
tree301cbb217749cc1e63f9f29d23503d79d0e95486 /lib
parent689cf0a2e3f0dce0e6ca93930b7ef577a671da4c (diff)
downloadlinux-next-37dc43726347a619699bc4b8288d0b545c7fe207.tar.gz
linux-next-37dc43726347a619699bc4b8288d0b545c7fe207.zip
lib/maple_tree: add missing spaces after switch keyword
Add the required space before the opening parenthesis in switch statements to conform to kernel coding style. Link: https://lore.kernel.org/20260623061730.2024-1-git@tazy.dev Signed-off-by: Watson Wheeler <git@tazy.dev> Reviewed-by: Liam Howlett <liam@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/maple_tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 06cc05b79fbd..e8eb2e1219db 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -6580,7 +6580,7 @@ static void mt_dump_range(unsigned long min, unsigned long max,
{
static const char spaces[] = " ";
- switch(format) {
+ switch (format) {
case mt_dump_hex:
if (min == max)
pr_info("%.*s%lx: ", depth * 2, spaces, min);
@@ -6622,7 +6622,7 @@ static void mt_dump_range64(const struct maple_tree *mt, void *entry,
pr_cont(" contents: ");
for (i = 0; i < MAPLE_RANGE64_SLOTS - 1; i++) {
- switch(format) {
+ switch (format) {
case mt_dump_hex:
pr_cont(PTR_FMT " %lX ", node->slot[i], node->pivot[i]);
break;
@@ -6650,7 +6650,7 @@ static void mt_dump_range64(const struct maple_tree *mt, void *entry,
if (last == max)
break;
if (last > max) {
- switch(format) {
+ switch (format) {
case mt_dump_hex:
pr_err("node " PTR_FMT " last (%lx) > max (%lx) at pivot %d!\n",
node, last, max, i);
@@ -6709,7 +6709,7 @@ static void mt_dump_arange64(const struct maple_tree *mt, void *entry,
if (last == max)
break;
if (last > max) {
- switch(format) {
+ switch (format) {
case mt_dump_hex:
pr_err("node " PTR_FMT " last (%lx) > max (%lx) at pivot %d!\n",
node, last, max, i);