On Wed, 2017-12-06 at 15:05 +0100, Krzysztof Kozlowski wrote: > On Wed, Dec 6, 2017 at 2:42 PM, Łukasz Stelmach <l.stelmach@xxxxxxxxxxx> wrote: > > It was <2017-12-05 wto 14:34>, when Krzysztof Kozlowski wrote: > > > On Tue, Dec 5, 2017 at 1:35 PM, Łukasz Stelmach <l.stelmach@xxxxxxxxxxx> wrote: > > > > Add support for PRNG in Exynos5250+ SoCs. [] > > > > diff --git a/drivers/crypto/exynos-rng.c b/drivers/crypto/exynos-rng.c [] > > > > @@ -300,7 +323,10 @@ static int exynos_rng_probe(struct platform_device *pdev) > > > > dev_err(&pdev->dev, > > > > "Couldn't register rng crypto alg: %d\n", ret); > > > > exynos_rng_dev = NULL; > > > > - } > > > > + } else > > > > > > Missing {} around else clause. Probably checkpatch should point it. > > > > It doesn't. Fixed. checkpatch does report this if using --strict $ ./scripts/checkpatch.pl --strict - CHECK: Unbalanced braces around else statement #119: FILE: drivers/crypto/exynos-rng.c:326: + } else Arguably, this should always be reported.