]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: tcrypt - Fix mixing printk/pr_err and obvious indentation issues
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 28 Jun 2016 07:23:06 +0000 (09:23 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Jun 2016 08:06:41 +0000 (16:06 +0800)
commit86a57938b971fccd38472615fa0c3befd08d9460
treed9bdfb25eb6688e043746b842f98e4fcaef78ee0
parent987a3e7e31168739699526e0c738d25841258f39
crypto: tcrypt - Fix mixing printk/pr_err and obvious indentation issues

The recently added test_mb_ahash_speed() has clearly serious coding
style issues. Try to fix some of them:
1. Don't mix pr_err() and printk();
2. Don't wrap strings;
3. Properly align goto statement in if() block;
4. Align wrapped arguments on new line;
5. Don't wrap functions on first argument;

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c