hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/sparc/kernel/central.c
....@@ -55,7 +55,7 @@
5555 else
5656 return 5;
5757 }
58
- /* Fallthrough */
58
+ fallthrough;
5959 default:
6060 return 4;
6161 }
....@@ -168,7 +168,7 @@
168168 goto out;
169169 }
170170
171
- if (!strcmp(op->dev.of_node->parent->name, "central"))
171
+ if (of_node_name_eq(op->dev.of_node->parent, "central"))
172172 p->central = true;
173173
174174 p->pregs = of_ioremap(&op->resource[0], 0,