Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3334962pxb; Wed, 13 Oct 2021 04:00:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPM6aqRGunwEtu1i2ODepzQTBy4kona00HNfQP0/h2qtjE2kSOZKUIFzO8ZviwUIznp4on X-Received: by 2002:a17:907:98f9:: with SMTP id ke25mr40364781ejc.381.1634122840807; Wed, 13 Oct 2021 04:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634122840; cv=none; d=google.com; s=arc-20160816; b=eoFKJTzbn+JFKF21PdPI1d3r0mlbbDvzkzYkEP/gkg6zYN5oKO073tRfi/S8jeBrN4 5AYVr2ijGlR3gfC+q2Jay31ggwQM4tY4JS+77sBsfNIRCkKUnxOEqS5mx9WfnjsCqwQl gO3kE+941GQVwhlHegAez+uF9ZE+sP9VwWBcHK8WI3HplfEY05xjBLuEwmvaT30nvLTv Ly4gpmrq2LaE0W1gYS4ZDqKz0bdCiNKk70mZcSRynI6QxoeRBsPwLxEdz0AAHYznW1xb GPnXYt3TpTLYwuVdjRp44GQbxu/n2VIjRxKdrIq/CbQE/YxlDJOn8vZx99kU1KURx/Zn CvGg== 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=QbohWyUs/XEVgJ1sMzx5GgNA+CoHQz7FKaMhz+WvP7Q=; b=v6dBlqzC+GhMF66L/36pjJHf2Fh8EylOxJRoELMyJ3I1vQLxD1vAGCFJNGAUzZB2dH ILKZs14/RUZ9pPrSgdUwKC/UN7bv5KI36+zoYgpsJ4nwyuKcg+y+yNs/pmN+0mxKpZ1h sUS7rU01O83TA7sh4tuhmiSbQns5yUJSeVJAJzBRg4n4BN6CIRdQ1vaJHwIYGmeJKhXM vvQhXnDQuMsfCNdBsGHDksyrDFhEjSK/XRVruXnfQJh49CHjQVNDVcfH3opiCKQAtVcV PWclvlLd/V2eWtByTejTCrFUiMbL5nC028Z82cLsmmrW9dcgxd+eSFJj/l3zSKqe08u2 DWlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aWBDPo+X; 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 la20si25985635ejc.3.2021.10.13.04.00.07; Wed, 13 Oct 2021 04:00:40 -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=aWBDPo+X; 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 S231929AbhJMLCF (ORCPT + 99 others); Wed, 13 Oct 2021 07:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233251AbhJMLBf (ORCPT ); Wed, 13 Oct 2021 07:01:35 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A295EC0613A8 for ; Wed, 13 Oct 2021 03:57:13 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id q10-20020a17090a1b0a00b001a076a59640so3486128pjq.0 for ; Wed, 13 Oct 2021 03:57:13 -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=QbohWyUs/XEVgJ1sMzx5GgNA+CoHQz7FKaMhz+WvP7Q=; b=aWBDPo+XkPYlTM+uRegDzpoN/h679h+9ZFX3Yb9ikiuC3BwoIicwyXzxblfl25u0t3 i5hZ37SfyfUxoCbkac0k50s5cSs+jzDSeCG1Bwom8E1qXnf7oRa/WW4UXuQJKHy9zOy5 5vZ+mQlfFWydlI+nust7zAkVmD06HPzMi3IKNbqqaqjqwpRkSX6hnIuyx93XDMABUq9t NLcA5PhZSyybf5HxtP0nkCgOemXMKS/zVuXkIJWwjtgsj/EGXw/qfjU6ztOIFUxMU3WM q4DQ5WcKsw8MsEXV8uFB8pkhHcMU2nMiMrv8xOxmku5gk0KIWuF73+3c4DueG3kbPVnE G9XA== 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=QbohWyUs/XEVgJ1sMzx5GgNA+CoHQz7FKaMhz+WvP7Q=; b=VBR4Eceww5yghaoMbYW7wGoRgqcuVoX4OtBHFSxY3MiMZXuc4S3/FOulfWMQn+zy3T UrKORmOK7fbIXmIYe8Fy5fVmD+4fAvOTk6vp9G2roPgW14zWDOBih4DQwikDCkVXA8MJ lRjGdtLrFYH3zYSf/BVh72CTHYuk1GnT6vehPNXhdjrvuwDMCXHsC5LGIU4AGi4fLLFy zOQyCiJfdWKPpCujqv763VxtEja6lEtLg31IHM1Md2ly4GRM16WZ1pfG21S/HbNF8CAi Na1WwzwzG8R/mlDHEt8Rn28HssCGRspgnVtkXtpR69hh+njlNMlgf2fp8OqXvwBupxWI pQ8Q== X-Gm-Message-State: AOAM531sltMSzvrnW+DraeGXtERlaZcmAjXybPn0KimFb5CacNXxAiG7 xwNnfTIvFxBurv56/X08cVBVng== X-Received: by 2002:a17:902:6947:b0:13e:8e8d:cc34 with SMTP id k7-20020a170902694700b0013e8e8dcc34mr35131854plt.88.1634122633168; Wed, 13 Oct 2021 03:57:13 -0700 (PDT) Received: from localhost.name ([122.161.48.68]) by smtp.gmail.com with ESMTPSA id b13sm6155351pjl.15.2021.10.13.03.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 03:57:12 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, agross@kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, Bjorn Andersson , Thara Gopinath Subject: [PATCH v4 17/20] crypto: qce: Print a failure msg in case probe() fails Date: Wed, 13 Oct 2021 16:25:38 +0530 Message-Id: <20211013105541.68045-18-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211013105541.68045-1-bhupesh.sharma@linaro.org> References: <20211013105541.68045-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Bjorn Andersson Cc: Rob Herring Reviewed-by: Thara Gopinath Signed-off-by: Bhupesh Sharma --- drivers/crypto/qce/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 576c416461f9..cb8c77709e1e 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -281,6 +281,8 @@ static int qce_crypto_probe(struct platform_device *pdev) icc_set_bw(qce->mem_path, 0, 0); err_mem_path_put: icc_put(qce->mem_path); + + dev_err(dev, "%s failed : %d\n", __func__, ret); return ret; } -- 2.31.1