soc: loongson: Remove unneeded semicolon from loongson2_soc_die_attr()
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 soc: loongson: Remove unneeded semicolon from loongson2_soc_die_attr()
./drivers/soc/loongson/loongson2_guts.c:73:2-3: Unneeded semicolon
Signed-off-by Mingtong Bao <[email protected]>
--- drivers/soc/loongson/loongson2_guts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/loongson/loongson2_guts.c +1 -1
@@ -70,7 +70,7 @@ static const struct loongson2_soc_die_attr *loongson2_soc_die_match(if (matches->svr == (svr & matches->mask))return matches; matches++; - }; + }return NULL ; }
Hi, Mingtong,
Reviewed-by Huacai Chen <[email protected]>
And please resend this patch, cc Arnd and [email protected], because that is the most appropriate list for this patch.
Huacai
Quoted 24 lines · On Wed, Jun 14, 2023 at 4:42 PM <[email protected]> wrote:
./drivers/soc/loongson/loongson2_guts.c:73:2-3: Unneeded semicolon
Signed-off-by Mingtong Bao <[email protected]>--- drivers/soc/loongson/loongson2_guts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/soc/loongson/loongson2_guts.c +1
-1@@ -70,7 +70,7 @@ static const struct loongson2_soc_die_attr *loongson2_soc_die_match ( if (matches->svr == (svr & matches->mask)) return matches; matches++; - }; + }return NULL ;}