mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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>
This commit is contained in:
committed by
Andrew Morton
parent
d1a852dacb
commit
ae10cd5584
+4
-4
@@ -6586,7 +6586,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);
|
||||
@@ -6628,7 +6628,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;
|
||||
@@ -6656,7 +6656,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);
|
||||
@@ -6715,7 +6715,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);
|
||||
|
||||
Reference in New Issue
Block a user