From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DF16C3DA7D for ; Tue, 3 Jan 2023 16:53:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 115D284CBD; Tue, 3 Jan 2023 17:53:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="UqYP/ink"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 25A8585248; Tue, 3 Jan 2023 17:53:46 +0100 (CET) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C012C80393 for ; Tue, 3 Jan 2023 17:53:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=9367428e12=patrick.delaunay@foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 303EOkDe013565; Tue, 3 Jan 2023 17:53:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=yW/2stM3Mdnd7THRZ25/0LmpVlu7YyJumX88bM18w2A=; b=UqYP/inkoeITMq2QTXdjOU7bEGPxTcFnK0/9GieLxvlYRr5WJRrk3xBzapnFWt7J74IN PikKCUD+xELXxmOovylM8edPnvvFxTJjBhO6LNrnr4aLmGD8a978cbb5oVUezVQ12ETB /fR4CqYm2PUWDK9sDBp+Xq5sojILTaPsRS2QFjhrPHKW8PAVUubJd0ejS4ClzkpbUKDW g8PTKg90rjfthCK3vVT/Svt64YwZo9WRKpB48lukRELd/ByDx7beGTaKq2ZIaL7A3Kw8 90CB6wcsWNncQ0+O3WbPIpXO6ohUg4lXZAnpT0zcGy/7TE/evudeEZUiLUswL1I9MVMd GQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3mtbcpxb5y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 17:53:43 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C476E10002A; Tue, 3 Jan 2023 17:53:41 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C03B622D18B; Tue, 3 Jan 2023 17:53:41 +0100 (CET) Received: from [10.48.0.157] (10.48.0.157) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.13; Tue, 3 Jan 2023 17:53:41 +0100 Message-ID: Date: Tue, 3 Jan 2023 17:53:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 1/2] tee: optee: don't fail probe because of optee-rng Content-Language: en-US To: Etienne Carriere , CC: Jens Wiklander References: <20221207153000.534581-1-etienne.carriere@linaro.org> From: Patrick DELAUNAY In-Reply-To: <20221207153000.534581-1-etienne.carriere@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.0.157] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-03_05,2023-01-03_02,2022-06-22_01 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Hi, On 12/7/22 16:29, Etienne Carriere wrote: > Fixes optee-rng driver bind sequence in optee driver to print a warning > message but not report an error status when a optee-rng service driver > fails to be bound as the optee driver itself is still fully functional. > > Signed-off-by: Etienne Carriere > --- > drivers/tee/optee/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c > index 9240277579..604fd1414f 100644 > --- a/drivers/tee/optee/core.c > +++ b/drivers/tee/optee/core.c > @@ -834,7 +834,7 @@ static int optee_probe(struct udevice *dev) > */ > ret = device_bind_driver(dev, "optee-rng", "optee-rng", NULL); > if (ret) > - return ret; > + dev_warn(dev, "ftpm_tee failed to bind: %d\n", ret); > } > > return 0; Reviewed-by: Patrick Delaunay Thanks Patrick