Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3764169pxb; Wed, 13 Oct 2021 12:27:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKhJrb0eABPMwgQqJEBn3BuUPSqxOELT9TZ2Q4G8c889hXJRzuRFLH7v6kcuXJob2aZDbx X-Received: by 2002:a05:6a00:b95:b0:44c:7c8b:f762 with SMTP id g21-20020a056a000b9500b0044c7c8bf762mr1228658pfj.60.1634153263715; Wed, 13 Oct 2021 12:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634153263; cv=none; d=google.com; s=arc-20160816; b=ux4xjhB+tJpQcfTzGtCKAjeM3Kvoy2jr+tYT0uz+yyRvoUuJhcVsGiccCqwBkIO/Aq ETGCZKE+uFft0uwK9TUyYOIn0ZbkJ5UKJzwQ6Eq+JsomY83G3QRRVpELIUY2Zmk0CRFq ozyRVqAJG7SXdU/RoFXG/a4xNVbs7DF1abv0fJOGXbJtoqLEA2Nj5QxgB00cEW1Zzx4P P9UXU4WAdR4fXuOv0VGRo63Uf1uQGUj+0TZKZEYmvGdt6dABBkk2O9rYfd95/VU+fgm+ q64qiVfWXWaghtS8fCbbl/q9w3GuQYpwRcQkYc+V4GPY8clfV9AlfMaNQ+fp8zsRJ6qy DXRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Cqg6OlscZqEMvb/ReYXudBaSyipapWX2ho/bKAy2P6s=; b=mwUjwHn+RC3pcSNW70yArfiQ5zwaS6h0wCVndUxMeroJnnqxri2Ni3kiWYUNby5Epm PBOEAR4U4+V1qcT6uCCXwaH6CbnNkbd8puzTQ+PhcXAZvxocYYi7vGiYFilh5PM1oefH l2HrOfNWnTIJm7Rx4wbSyMuYZiYFrN1wNEyixp52nJ8WAOMnFpiqqYPQDUd3YGuNaokX TDIz9+W0ByDZXhKKJsTLop+G5DOp1nZZuU+5IQwRqpQ3aHHReQF4xt70hL5xMVnxZQrm MTIAZZF2oLupIFeQRUmgDDaTOW9cU/Yv2S9ijfKiiWoLKJ556QZTReVjxra8OwhmUtj/ jjFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QIG+ixl2; 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 129si516523pgc.122.2021.10.13.12.27.30; Wed, 13 Oct 2021 12:27:43 -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=QIG+ixl2; 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 S237848AbhJMT21 (ORCPT + 99 others); Wed, 13 Oct 2021 15:28:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbhJMT20 (ORCPT ); Wed, 13 Oct 2021 15:28:26 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2E88C06174E for ; Wed, 13 Oct 2021 12:26:22 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id r19so16074898lfe.10 for ; Wed, 13 Oct 2021 12:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Cqg6OlscZqEMvb/ReYXudBaSyipapWX2ho/bKAy2P6s=; b=QIG+ixl2Q4prZfyV2wCaaV06GK34fLeJljGPY2tmislnOnnZgid7OA0rtWBo2t1esQ afLbkXegUw8WteZuauN8DY9jGP1mQwJQaW3ImwlYDIdxUiDuLqIcY27qyI0RyBSXan/Z McxnsDpDOA8ZCTeLKYdTVX4lPhTSWMxeZUVvyNIxDQlqzvLav/ktJErSDZFwdFdV+OXC gwVnso03jrqpF7HGBdkBDmGG5QzCb9hOn71y9ANa75N0QrsXa4Wv9Eg/MSg2+nL6JtGX jPWdB7AWpsfuPYHmi5FfPW7/vIs8PGanB/plcFVlvijuJGnn+ii7JWR5WkwWhkEFVOlf pn1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Cqg6OlscZqEMvb/ReYXudBaSyipapWX2ho/bKAy2P6s=; b=Z+yOHQ0NjejvCK8D4EALptOWjvwTFtqPQMpoIbeRGAOXNhh+u3ocVw1Dv69J+X5Bcv zvT6k7dDyOAB2HgDCTWRJKxUAV51by2XvFVIYl/RENxu6e4A7tg7r0zSmgHQ0XA0t8Hv 5V5+0cJUmu+86YR8wrApqhct8my3S5jSkippIwz1t8uBOSwwR76jQwgGHGP5YJ+SDwX0 9r1TKkryUhIPMaT01+z1IK8K0rx2Nh2CvLweDVqpyATgoO27jHFiwYo5pR55I4hCwfIk lmO0G8dzbyOOFPRLDENr5DGONqopfZNXzzTJlRawLa1qFlUCyh94bhfiP4F8UAqAVmJU q0sA== X-Gm-Message-State: AOAM530Acd6pQVPGOUehJ/vlUa7JLWhxtEZ+Z1FmvbiJRIdtdhg43hxo GfeWME9947hs1TgMjcXRnymyVw== X-Received: by 2002:a05:6512:14b:: with SMTP id m11mr811712lfo.410.1634153181254; Wed, 13 Oct 2021 12:26:21 -0700 (PDT) Received: from [192.168.1.102] (62-248-207-242.elisa-laajakaista.fi. [62.248.207.242]) by smtp.gmail.com with ESMTPSA id g7sm31776lfr.113.2021.10.13.12.26.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Oct 2021 12:26:21 -0700 (PDT) Subject: Re: [PATCH v4 17/20] crypto: qce: Print a failure msg in case probe() fails To: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org Cc: 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 References: <20211013105541.68045-1-bhupesh.sharma@linaro.org> <20211013105541.68045-18-bhupesh.sharma@linaro.org> From: Vladimir Zapolskiy Message-ID: <2699de22-4943-685f-5700-82137a4326ae@linaro.org> Date: Wed, 13 Oct 2021 22:26:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20211013105541.68045-18-bhupesh.sharma@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Bhupesh, On 10/13/21 1:55 PM, Bhupesh Sharma wrote: > 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; > } > As for me the rationale of this change is quite non-obvious, a user is well informed, if a driver probe fails. I would rather ask you to consider to drop this change. -- Best wishes, Vladimir