From patchwork Wed May 19 14:36:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 442454 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1387167jac; Wed, 19 May 2021 07:39:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFAzyVLcy/xbXEnYKra810AxZof2SKOj5mNk3ioJTeGy5BewnDOL4bw+mPyC1r5rQFAi+a X-Received: by 2002:a05:6602:2d0a:: with SMTP id c10mr5920696iow.12.1621435187644; Wed, 19 May 2021 07:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621435187; cv=none; d=google.com; s=arc-20160816; b=THYtsYHwdSa3DmIEyJKN3KXGx77sBt3uhkn3s33qVz8wagWWthuNVvoEaA16pBvSyo WR7qaUW8jMUlKlCH0Cth8SGNI5pVMmk6pNmVFJnbQFp/UNG3qyi3tQ51jz1uePP+sNzl SxWr9vz1EAMySKFmBlA0j3EbIKBrE9lUVEHbcVXQT3S5ReYveaH+4Oj9yJagbYo+jmSt 5A/Bz9JGAmXBcGq2inuK/6x9DFQ9Rm30XgYB+N58/6mbcoQHcmg0CSVe9i3VlL87u17A WPbd7kyBgBtc78s/kHRrVnjYw8pVqLdked6PwZgkBlNS4MEdgBKDmmHdV3DCSKm/8674 UGHg== 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=DJ0dnnuzoeTgYR3s2q2rVPLNWq3NbJZWo1BzkyjqRwk=; b=tX9kryCVCj3ssrQa7+BakA46GRl4VepqWr0A8+aWEjvFxEIk6FX1LKJAyk6NhMWZY7 b94hZniFbS+ui8bLUP3d+s/PbjHGNArWFb6n8VM9l6gkt3MMJz+HLc7F+htE2mtPafCx Nma0drfGAN949G/EfXBpE28NM4kgQ52Iv0C5QTAnwo9Po2Osr7fpRuOjLgqfVnt3hsR0 vIIQWozEixSMB9cjZW8n7gyPG7FgJVoYv6Co9u7fyBy5Hxfug7neOybCDwe+xEjfvZw7 0CVOn+WgH440LIDo8g35y0CkK8J9PRXyiMzvQjaVZBkx6Uk7ZHzP1Y2rayPbnoxU/L6e LsoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="m/uNEaF4"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a11si29912456jat.23.2021.05.19.07.39.47; Wed, 19 May 2021 07:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="m/uNEaF4"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354491AbhESOlE (ORCPT + 3 others); Wed, 19 May 2021 10:41:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354420AbhESOkr (ORCPT ); Wed, 19 May 2021 10:40:47 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E696C06138B for ; Wed, 19 May 2021 07:38:59 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id c17so10037821pfn.6 for ; Wed, 19 May 2021 07:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DJ0dnnuzoeTgYR3s2q2rVPLNWq3NbJZWo1BzkyjqRwk=; b=m/uNEaF4R7ZLKlP+RvsBZ6ySpgoBfW9IhsmyZRm+U/pmrvLJqYTNlH3QSTPCpAuSmO HLG9idUpUwqxrUXKT8fy3VkUEX4Clg+j1G3F3oRphZT015VY9VW4mDxVLw1jrVWlYLg4 l+Yepm0Q4PAEDPlaXreWKjyIadN3GS6vP3+6BrriHpX2+2ixo2jfbBrhL5042AdG6fF8 a92FGRUgwn6+A1ueB6EOLQI3IZ4nehva2+WUXsaFkoyVk8iW9TAFy8Eizfd0fUJ2A1Oy LIUny2yugyprMwHK0/YFxCEuIaKXH5+DVXLlawjlVrGyidJURzVQqIPVLtCwx5ZHP9ya FBYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DJ0dnnuzoeTgYR3s2q2rVPLNWq3NbJZWo1BzkyjqRwk=; b=le+eR9ynD66G6phveQDFBR/r6koc3W02iMeB9KNUGRXTAj6Aos7ScORcZx6Ujpwc4p jzIVfK+RoRJmHDuMdwkRfBOU5WudE2p8556mgYJZL28ort7liBwp832X6KK4g8iShY7N ZCXd30dsSdYjXNsbPhCi685uFTR97wHJJVwQrB6VgRvvcZPAZBcOXKIgt43MdTRnGJGS eE/GOzoMQ1OLH4GuEWTEfoy+ibn5mGzC7vEL34r5jSNf/nLzoqSRpStz7wVO6zvCxz2a SSwXXHypONP7ucIu3/+1N1Tse8nvgeKGTENGv2OBrnumuSydoKKaHFd4UVnHbuqQ11NW Qhng== X-Gm-Message-State: AOAM533Emw1Hh8X2gjIhNdCi8phF07MoCZ/mxb5fsGChIPiAyZepA5Ra OVJYKCiPMiPmkJINmQj43Vp8bg== X-Received: by 2002:a65:48c5:: with SMTP id o5mr11326507pgs.101.1621435138781; Wed, 19 May 2021 07:38:58 -0700 (PDT) Received: from localhost.localdomain.name ([122.177.135.250]) by smtp.gmail.com with ESMTPSA id o24sm9239515pgl.55.2021.05.19.07.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 07:38:58 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, Thara Gopinath , Bjorn Andersson , Rob Herring , Andy Gross , Herbert Xu , "David S . Miller" , Stephen Boyd , Michael Turquette , Vinod Koul , dmaengine@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com Subject: [PATCH v3 14/17] crypto: qce: Print a failure msg in case probe() fails Date: Wed, 19 May 2021 20:06:57 +0530 Message-Id: <20210519143700.27392-15-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519143700.27392-1-bhupesh.sharma@linaro.org> References: <20210519143700.27392-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Print a failure message (dev_err) in case the qcom qce crypto driver probe() fails. Cc: Thara Gopinath Cc: Bjorn Andersson Cc: Rob Herring Cc: Andy Gross Cc: Herbert Xu Cc: David S. Miller Cc: Stephen Boyd Cc: Michael Turquette Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: bhupesh.linux@gmail.com Signed-off-by: Bhupesh Sharma --- drivers/crypto/qce/core.c | 1 + 1 file changed, 1 insertion(+) -- 2.31.1 Reviewed-by: Thara Gopinath diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 8c3c68ba579e..aecb2cdd79e5 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -300,6 +300,7 @@ static int qce_crypto_probe(struct platform_device *pdev) err_clks_core: clk_disable_unprepare(qce->core); err_out: + dev_err(dev, "%s failed : %d\n", __func__, ret); return ret; }