On Sat, 2020-04-11 at 09:12 +0200, Christophe JAILLET wrote:No, this one is correctly spotted.
./scripts/checkpatch.pl -f drivers/soc/kendryte/k210-sysctl.cHi Christophe, many thanks for doing more testing
is missing line 189, even if it looks like a construction correctly spotted in some other files:
if (foo) {
dev_err(...);
...
};
Are you sure about this one? I get:
$ ./scripts/checkpatch.pl -f drivers/soc/kendryte/k210-sysctl.c
WARNING: Possible missing '\n' at the end of a logging message format string
#189: FILE: drivers/soc/kendryte/k210-sysctl.c:189:
+ dev_err(&pdev->dev, "failed to register clk");