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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5648CC6FD1D for ; Tue, 4 Apr 2023 19:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k2SSsaxFtPMSE8qnaagfXLKESrtbiIwXHNcyAX4nitc=; b=PCf3EMYGumyraaGfGHlvS9gocd bBDXEr986E739E+K/A7Erzc0PD1IzBqsUB8ejR4ZlBo6hqS9SBg1liOTqmcd0ZYtfKL+tXDXAKjD6 BtW9nQrubioSDrVt+ntE6qHvUZAGPqKvD9xs7NDl+KYO72W5Q1G+6MH2kfPrMMPn+pauGfGXMgbNO rUV2tNMS9QeRXIkwP3NQ9PUwTYwfBBe0M0alptj1sbq398D2j8kFT2vF/8j138+HGCO2zP7bGuQhS QFK9iSs7GpoAaFBClxeHCfYoD1du6Sp8Izo/d6RZ1ydxC7LhRkIi5saSKKxMYwdt+PsK5rCUImlK1 FAVw9fbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjmiC-002jct-1X; Tue, 04 Apr 2023 19:53:00 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjmiA-002jby-1w for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2023 19:52:59 +0000 Received: by mail-ed1-x52b.google.com with SMTP id cn12so135265118edb.4 for ; Tue, 04 Apr 2023 12:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680637976; h=user-agent: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=36+7aMVMhxPiaZSDInCq5WZoJFXnceFIbbddWnkZGAA=; b=EbxUB1Cz8pmEOeH6pX192ejW9siDp508olpuKSO6s5OJTZtTu6Fe9ih8QasR6FXtuH L8PEtdbyhsTyMFLzbg4rwzdBHx7PAdfup51jxbhvD0aInffwYgwLsnRrW2inAY3WTyZk eeNdlL5nvlaS1YVQlQs+Bnw32B7Q57Dz9ZbjQXJ6IMZGlbxfWWVlxI++LJyqfhRKF7ow z5RS1IoQuKyOk/rU0w4zC0bwZLB27sTPOqkxw3wNDVUuVmpm04Mg/IzzyRx3NTh/WWKe Q9zKp3sDJAq2WKS06J2ZvvpvP+FoqtCps0VeMKvUmVwCroIyBfAK5tWUiA3Un+PO889L 9/jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680637976; h=user-agent: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=36+7aMVMhxPiaZSDInCq5WZoJFXnceFIbbddWnkZGAA=; b=gwIqX0CzKHEUb/a4E0ULvLFO+i0ymRqc2XnKj2RHgdxDJeFXWGgksarEz/gSlB19sO mxPpw9HKhKYBqbCEeYQK9kkE1U9DfRbXSBGo6vRgRnPqKcx4CQNgYQ+y9p8TscuHGj/N NCguc0VrK/TlhyC9OZ9KMbTaEnH6xBv5XwASQ0mIeJJOivLklBx7lJimV5uXn2wi9wSJ WlcLNM9s4DT4xpxi1t7/H80A8dOgD/YBw3EPVeGQ0GJcNqpfxfNfpIJnNnn0yin0rG6z FBb2WUKL0VQoeb3sVz7pa0qNHVb4hVIEMKnLcz4AI64gF+IsKW1QraqqQQTLrLSHC5Y2 LDgQ== X-Gm-Message-State: AAQBX9cu4E5wXH2w6osWmQ9D39D80384ZYptSiDM0CFawzR7sklE4WvA jczljoI/t4cQ0JVfQzj1Ecw= X-Google-Smtp-Source: AKy350Z21fXi6LMGQHNRL6QVxiE6JPhpjRpfFo2FYbHjU2CuzE9G5Zoxm2dxLbIU4FXi2l4tADQ+xw== X-Received: by 2002:a17:907:8745:b0:933:1702:a12b with SMTP id qo5-20020a170907874500b009331702a12bmr737071ejc.17.1680637976201; Tue, 04 Apr 2023 12:52:56 -0700 (PDT) Received: from orome (p200300e41f1c0800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1c:800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id i12-20020a170906a28c00b00946e6dd887csm6292277ejz.126.2023.04.04.12.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 12:52:55 -0700 (PDT) Date: Tue, 4 Apr 2023 21:52:54 +0200 From: Thierry Reding To: Rob Herring Cc: Sudeep Holla , Cristian Marussi , Jonathan Hunter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH] firmware: Use of_property_present() for testing DT property presence Message-ID: References: <20230310144704.1542045-1-robh@kernel.org> <20230323120030.7mk62xk7tco32zw2@bogus> <20230404165846.GA49361-robh@kernel.org> MIME-Version: 1.0 In-Reply-To: <20230404165846.GA49361-robh@kernel.org> User-Agent: Mutt/2.2.10 (2023-03-25) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_125258_637774_52B6DBB3 X-CRM114-Status: GOOD ( 22.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2146625636946073854==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2146625636946073854== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EV9WiWkvTmZhpxvQ" Content-Disposition: inline --EV9WiWkvTmZhpxvQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 04, 2023 at 11:58:46AM -0500, Rob Herring wrote: > On Tue, Apr 04, 2023 at 03:30:02PM +0200, Thierry Reding wrote: > > On Thu, Mar 23, 2023 at 12:00:30PM +0000, Sudeep Holla wrote: > > > On Fri, Mar 10, 2023 at 08:47:04AM -0600, Rob Herring wrote: > > > > It is preferred to use typed property access functions (i.e. > > > > of_property_read_ functions) rather than low-level > > > > of_get_property/of_find_property functions for reading properties. = As > > > > part of this, convert of_get_property/of_find_property calls to the > > > > recently added of_property_present() helper when we just want to te= st > > > > for presence of a property and nothing more. > > > >=20 > > > > Signed-off-by: Rob Herring > > > > --- > > > > drivers/firmware/arm_scmi/optee.c | 2 +- > > >=20 > > > Acked-by: Sudeep Holla (for the SCMI part) > > >=20 > > > I am assuming you will route this as it has other changes as well in = the > > > patch. > >=20 > > I can also pick this up along with the Tegra changes if Rob doesn't > > want to take it. But also feel free to take this through whatever tree > > works best, for the Tegra parts: > >=20 > > Acked-by: Thierry Reding >=20 > You can take it. Thanks. Applied now, thanks. Thierry --EV9WiWkvTmZhpxvQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmQsgBYACgkQ3SOs138+ s6EnWg//c7WQrukK4feUgU8dH0K8IO0ecq7TdKAaG2qzAY/nmrcVweH4fkoOQzu5 RMw7p2Cwc6gS+oty/bX/jWBuFAKVYfyjDCYmRPbvhwQD4DxvD6uT7v+DmIGA5aCu 5cwT/I5vLLqJZhxbmecB+ByLRe2EO8TKTCKs7G3iydO/OUt8wW3DeOzGf/Rr3568 +ZntYrBRXvJ6KBBJ8ghTr54daiJK2AN6QGX8GFvtzxGZ77733DPuOI5LImK/j6vw czfc0BpUWTmNnlKAm82b729R32gTGWHlE50tb6MLQaO4Z0qjt97K+fCxPfcuVut+ 2wqMMYRT+ZyI07ySV5o3YKuXYFoqBAZeHEkuQ3OUoYH6KS47x6A86HbXhfohU6wT iNstMGArkdF4eFOc846WZuKDqiY3PFCp3fNN/pF8T4Jkt77tuM1EDU6O5/pDkTg9 FZ7KOFRqbNV00SnM52M+8TJ99GaugoxmXbsxX/aQh3rqiqOBrBbdGjF9UbphFtQD lx7ZSSgTCtuMOBl5gbDeJCxBsfZCnsPdtFA2LzsR44dTzOyOaGWNkzd65EjVz0gG P4/mcvxoxMj9h08QHuzHtmKIxam9x34UyCoXdmYM1LhKYi/SHsSNX8Ehk6oU09xb xVMIeWlKk5hO5hmr7IdyO0vFR0wPjzvrOYKCBJOK/kKNsH4hBi0= =M5/M -----END PGP SIGNATURE----- --EV9WiWkvTmZhpxvQ-- --===============2146625636946073854== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2146625636946073854==--