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 7D5DDC4332F for ; Thu, 22 Dec 2022 09:30:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E5CEC80CB0; Thu, 22 Dec 2022 10:30:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="TEZ4y5oW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8512480241; Thu, 22 Dec 2022 10:30:43 +0100 (CET) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1B34280241 for ; Thu, 22 Dec 2022 10:30:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-ed1-x52f.google.com with SMTP id b69so2122382edf.6 for ; Thu, 22 Dec 2022 01:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6tkk3Hn+2/ZMBfRWvtRUBP4aEeaL1qmpWd7iFoFTbqA=; b=TEZ4y5oWua9mn0Cc0YPFoHISzTAzorWqKbOkpKr9jJ8REHLK9ChJBPn1+2tp4dRSvI c1TDzwWFfOel6M8ztGJIXLZMko2mweb54joRZnz2+oHNIAJmh3AUVshJqXCqiDzJfurA RfCsaAkBpqab4NzoxHiQ4mnAYUiGfa4AAFfwpa5uv9j4Fk8yKAOU8uJBTEFsDyfhvwm/ aBve3iPpyTe/oKbN/RcHPMEkNpyztZHYT+a5t7aosW3Xq7HQFflJjMkgxPivJrtOFJwv avnKT67U+d8e075cZGe5IfpqPiUtCZyNh00010sa8IUumFQb8q96O7ZBcWnvUM+IFQCV 5cmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6tkk3Hn+2/ZMBfRWvtRUBP4aEeaL1qmpWd7iFoFTbqA=; b=kWnrk6v9El1Lwd3DF3mowtiUL89e5XmsO7SibGi5lytu5vwIuZitTdP1oogoTosR/A gUZcW2SWuw2YNThhFAgP/N6uqWwMqwTdFB+pZfP/fSaatUchwP0aLv/ZyF60FMdYK773 ORtYufBhBJUsw/4646tmv56K4RzhmTy03MjQnQpr+KtALzVgpwhP0IrWb7gSfiFBmhWf CLLLz60gbDJ5yMxQt/Xf6VR+ZbUAO0MAIPJRvhZhHACVRcVq6OvDQF2P0WQ+oLJquP0Z zmHRP+kUNt99Tnkau30re3WWzy1a8jdixIGwnTaCU7abugSr+r8/irD4zYHHJ5IooFAX EJCg== X-Gm-Message-State: AFqh2kq9umr5Z4n3PPG5Cz4H7LJ+89I4D80z3Iul/gwndBw5XvAGwBmd 1py+eNm2LxgpWNQ0I9HXm4WRig== X-Google-Smtp-Source: AMrXdXv0hCmEPjE/rdyaYN4/UW7m8qqTyCWfY3uGS/WDCSNu1kYJEDBmULMCdVohPVKV8vLP0C/BYg== X-Received: by 2002:a05:6402:8c3:b0:47d:56a7:3716 with SMTP id d3-20020a05640208c300b0047d56a73716mr3604425edz.40.1671701440756; Thu, 22 Dec 2022 01:30:40 -0800 (PST) Received: from hera (ppp079167090036.access.hol.gr. [79.167.90.36]) by smtp.gmail.com with ESMTPSA id o13-20020aa7d3cd000000b0046b16872e69sm183801edr.2.2022.12.22.01.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 01:30:40 -0800 (PST) Date: Thu, 22 Dec 2022 11:30:38 +0200 From: Ilias Apalodimas To: Etienne Carriere Cc: u-boot@lists.denx.de, Jens Wiklander , Patrick Delaunay Subject: Re: [PATCH 1/2] tee: optee: don't fail probe because of optee-rng Message-ID: References: <20221207153000.534581-1-etienne.carriere@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207153000.534581-1-etienne.carriere@linaro.org> 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 On Wed, Dec 07, 2022 at 04:29:59PM +0100, 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; > -- > 2.25.1 > Reviewed-by: Ilias Apalodimas