lkml.org 
[lkml]   [2022]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 01/33] crypto: rockchip: use dev_err for error message about interrupt
    Date
    Interrupt is mandatory so the message should be printed as error.

    Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
    ---
    drivers/crypto/rockchip/rk3288_crypto.c | 3 +--
    1 file changed, 1 insertion(+), 2 deletions(-)

    diff --git a/drivers/crypto/rockchip/rk3288_crypto.c b/drivers/crypto/rockchip/rk3288_crypto.c
    index 35d73061d156..45cc5f766788 100644
    --- a/drivers/crypto/rockchip/rk3288_crypto.c
    +++ b/drivers/crypto/rockchip/rk3288_crypto.c
    @@ -371,8 +371,7 @@ static int rk_crypto_probe(struct platform_device *pdev)

    crypto_info->irq = platform_get_irq(pdev, 0);
    if (crypto_info->irq < 0) {
    - dev_warn(crypto_info->dev,
    - "control Interrupt is not available.\n");
    + dev_err(&pdev->dev, "control Interrupt is not available.\n");
    err = crypto_info->irq;
    goto err_crypto;
    }
    --
    2.35.1
    \
     
     \ /
      Last update: 2022-04-13 21:09    [W:4.235 / U:0.172 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site