Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2265636pxp; Mon, 21 Mar 2022 15:21:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoQ40rK/uryN28H4ey/ckST6A6OqMJgxOT5nRIGS6u2q8/olYgTDc1gOR+X9R4cvHL/U08 X-Received: by 2002:a17:90b:1a81:b0:1bc:c3e5:27b2 with SMTP id ng1-20020a17090b1a8100b001bcc3e527b2mr1406637pjb.20.1647901264768; Mon, 21 Mar 2022 15:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901264; cv=none; d=google.com; s=arc-20160816; b=0vMdgaXozhl/YcG83vQbgommMJP4tjNWdI9BkXLSLUk10NlKaqJ096P6GNFxjwezaP efbCrNCVCqm9WQrT/VvciaMwhrloSL1x+yb6kflUIaw7TOLqD8aY/jEi3wLZROOON2HU pbx39xZD4H3iRldZcWevEbBowSkX/JQ3Z+aOH6XUO6nod+iCR/k+WA6S5G8Dcqnn2x+j dOyrPNeIGb0DRiBHZbr3/i403TdHM3OPL8wDXX4TSUz9MoRzoLBSGu2LGN6ny9z6Ob2j CU91PzsGfBDW/Lo8NfKkrsLh+Yh8DIKFyxQ6nAAOWlRo7yRCsREyGmXnyW/XrZn6gmRF XOAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5/nH1g76OJr2xP0kEzxoO9d69o0mEYaKTMfwjCEna4k=; b=YaaD2W2UfJB2vRrC3Zf37UVVHiguOdB3AHDo5r+m6VpIco5wXNVbWWBdAs3ut8AIac QM01tT9SZO36gNHBJ10sgWYpzslWfgJw/LYA7Evl5GY3/C0Le17wNNjMwDXVkk2/k44n C04eXEyexKiNA0mwzwYzg+1BS2Hqllr+8lE8qyxv1ZUsAQl12KidWz5wdMl9V/rMjnOO igpiz0m8iISDx093+p63TbdbyGSSkWpxPymvGUROw9yq7AuEoG9C0GQtYXBx+StV0bqD yJPtrTqqxjMn5mG7wAY/88mlMtvjkxYOxAYKbT+hBtyEM8TkW2p1x6g9F5x5U0JVEyHx URvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=wpn2+3RR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id np18-20020a17090b4c5200b001bf1a231c27si540359pjb.129.2022.03.21.15.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:21:04 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=wpn2+3RR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D2C63884E2; Mon, 21 Mar 2022 14:37:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352934AbiCUUJb (ORCPT + 99 others); Mon, 21 Mar 2022 16:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352911AbiCUUJU (ORCPT ); Mon, 21 Mar 2022 16:09:20 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE83A103BBC for ; Mon, 21 Mar 2022 13:07:51 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id h23so21607858wrb.8 for ; Mon, 21 Mar 2022 13:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5/nH1g76OJr2xP0kEzxoO9d69o0mEYaKTMfwjCEna4k=; b=wpn2+3RRnKkURh7Cw42HtJCAMkGca4Slv7C6iuakbwLvTEXnNMZzVN751genrV/kWo iNcZG0du3r5XDwFHWSd8w7O00LHqepu20bQcqsweCcvcYBhGDae5z/Xdr241Qj2lGmhq kxDrXL1VHXyXj1f+MMtaEdWsHpDq43C4aIMqGefVUKLoxEtmTQn37vtUIQXvdjTKowFA m5DDXmT8VT0KQYHblOsC+briTj5e840IrbzIHWDHk5xnvZjOYfHZPRBha9ZcI1vFDl5V h0FOj9A6OR0AhE6Wh2Jt/fMphE1zTO6OUlvAZ+7AcUM3Y6oM7Z5xJ9zA++vv4HSW8bPW 4yVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5/nH1g76OJr2xP0kEzxoO9d69o0mEYaKTMfwjCEna4k=; b=AYmlDIf5YFv+tNF7l8yxLinsf1u4My+LAlwDrdKhmGzMsednJEsg9YLsR3GNyKKAu5 l4J5txP7LPYowJEEVv+TJxQL5qMoTIfxyx1/h2atT8a1QQNIUEhIQRJvRtwcoXAo34XR KNLbFL00VybjCYg5C7Pq0ALPtVSQp84ajU4ySHivgOeFoo2B2krPCfDVG3dzLqtEOS1D QpzbjHIX/lYAgKiITtGDl23uRisYqL1/ga0pDa6FiHsa+D6BpxtrjJPMe1Wh4IyZPZyf JdHySpr7dgRpD7tykRTKOiM9O+KkW0n+CW/c9hsbqwocmMJxI1tLqHG48YGjLB4VPgDe p0CQ== X-Gm-Message-State: AOAM533l7WXFhYmGlEb+yOhgAt9A+5m6Hzc1Uiu2H6VNS5HNW2616vqd bp0FXkbwhkaQanYriRs0fUbNNQ== X-Received: by 2002:a5d:6746:0:b0:203:d6c1:9c5b with SMTP id l6-20020a5d6746000000b00203d6c19c5bmr19647521wrw.446.1647893270523; Mon, 21 Mar 2022 13:07:50 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id i14-20020a0560001ace00b00203da1fa749sm24426988wry.72.2022.03.21.13.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 13:07:50 -0700 (PDT) From: Corentin Labbe To: heiko@sntech.de, herbert@gondor.apana.org.au, krzk+dt@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Corentin Labbe Subject: [PATCH v3 02/26] crypto: rockchip: do not use uninit variable Date: Mon, 21 Mar 2022 20:07:15 +0000 Message-Id: <20220321200739.3572792-3-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220321200739.3572792-1-clabbe@baylibre.com> References: <20220321200739.3572792-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org crypto_info->dev is not yet set, so use pdev-dev instead. Signed-off-by: Corentin Labbe --- drivers/crypto/rockchip/rk3288_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/rockchip/rk3288_crypto.c b/drivers/crypto/rockchip/rk3288_crypto.c index 45cc5f766788..21d3f1458584 100644 --- a/drivers/crypto/rockchip/rk3288_crypto.c +++ b/drivers/crypto/rockchip/rk3288_crypto.c @@ -381,7 +381,7 @@ static int rk_crypto_probe(struct platform_device *pdev) "rk-crypto", pdev); if (err) { - dev_err(crypto_info->dev, "irq request failed.\n"); + dev_err(&pdev->dev, "irq request failed.\n"); goto err_crypto; } -- 2.34.1