Skip to content

Commit 44122cc

Browse files
montjoieherbertx
authored andcommitted
crypto: sun4i-ss - add SPDX header and remove blank lines
This patchs fixes some remaining style issue. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent b1f578b commit 44122cc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq)
148148
return err;
149149
}
150150

151-
152151
static int noinline_for_stack sun4i_ss_cipher_poll_fallback(struct skcipher_request *areq)
153152
{
154153
struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq);
@@ -562,7 +561,6 @@ int sun4i_ss_cipher_init(struct crypto_tfm *tfm)
562561
sizeof(struct sun4i_cipher_req_ctx) +
563562
crypto_skcipher_reqsize(op->fallback_tfm));
564563

565-
566564
err = pm_runtime_get_sync(op->ss->dev);
567565
if (err < 0)
568566
goto error_pm;
@@ -649,5 +647,4 @@ int sun4i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key,
649647
crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK);
650648

651649
return crypto_skcipher_setkey(op->fallback_tfm, key, keylen);
652-
653650
}

drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
#include "sun4i-ss.h"
23

34
int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed,

0 commit comments

Comments
 (0)