crypto: stm32 - Fix spelling mistake "wite" -> "write"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 28 Sep 2022 22:24:43 +0000 (23:24 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2022 11:15:35 +0000 (19:15 +0800)
There are a couple of spelling mistakes in dev_err messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: nicolas.toromanoff@foss.st.com
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-cryp.c

index 59ef541..59638df 100644 (file)
@@ -1400,7 +1400,7 @@ static void stm32_cryp_irq_write_ccm_padded_data(struct stm32_cryp *cryp)
        /* wait end of process */
        err = stm32_cryp_wait_output(cryp);
        if (err) {
-               dev_err(cryp->dev, "Timeout (wite ccm padded data)\n");
+               dev_err(cryp->dev, "Timeout (write ccm padded data)\n");
                return stm32_cryp_finish_req(cryp, err);
        }
 
@@ -1440,7 +1440,7 @@ static void stm32_cryp_irq_write_ccm_padded_data(struct stm32_cryp *cryp)
        /* h) wait for completion */
        err = stm32_cryp_wait_busy(cryp);
        if (err)
-               dev_err(cryp->dev, "Timeout (wite ccm padded data)\n");
+               dev_err(cryp->dev, "Timeout (write ccm padded data)\n");
 
        /* i) run the he normal Final phase */
        stm32_cryp_finish_req(cryp, err);