powerpc/pseries/mobility: add missing break to default case
authorNathan Lynch <nathanl@linux.ibm.com>
Mon, 7 Dec 2020 21:51:40 +0000 (15:51 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Dec 2020 10:40:56 +0000 (21:40 +1100)
update_dt_node() has a switch statement where the default case lacks a
break statement.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-9-nathanl@linux.ibm.com
arch/powerpc/platforms/pseries/mobility.c

index e66359b00297a1546722d3e73e4edc5698e8a3fc..527a64e2d89f796af7a4620d7820ae6d6eadbb81 100644 (file)
@@ -213,6 +213,7 @@ static int update_dt_node(__be32 phandle, s32 scope)
                                }
 
                                prop_data += vd;
+                               break;
                        }
 
                        cond_resched();