[PATCH 1/8] of: of_node_name_eq: correct alignment
Marco Felsch
m.felsch at pengutronix.de
Fri Oct 14 09:35:27 PDT 2022
Just a cleanup nothing special.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
drivers/of/base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index ea2a88764b..2eee1279a9 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -32,7 +32,7 @@ bool of_node_name_eq(const struct device_node *np, const char *name)
return false;
node_name = kbasename(np->full_name);
- len = strchrnul(node_name, '@') - node_name;
+ len = strchrnul(node_name, '@') - node_name;
return (strlen(name) == len) && (strncmp(node_name, name, len) == 0);
}
--
2.30.2
More information about the barebox
mailing list