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 AEF8DC001DC for ; Fri, 21 Jul 2023 23:35:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F25EA867DE; Sat, 22 Jul 2023 01:35:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Q/lxGtjg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D758867B5; Sat, 22 Jul 2023 01:34:46 +0200 (CEST) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 60979867B2 for ; Sat, 22 Jul 2023 01:34:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-57045429f76so27934067b3.0 for ; Fri, 21 Jul 2023 16:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689982483; x=1690587283; 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=Wj4QNFxWTqmfURflGdXBxiOGeY1wKKYjKeq7jszSZG0=; b=Q/lxGtjgGTYbTlErET1GQOM++cMQoIXUlHUPpScUD5DhVhG4uNOYUhN1DvIWlcP/9T RxEutCMWAy6kfz/LihoOie44jkRb/8T0ffgejR7cR3wy+PSoPph0KeF6fz0drpDedkCC zfPepfx8L92528Q2jPXBjGYmW59M4YXIgKSEA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689982483; x=1690587283; 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=Wj4QNFxWTqmfURflGdXBxiOGeY1wKKYjKeq7jszSZG0=; b=fWHBxwMGPZxEHYWyN/0v66KaFbvTFve//NV16UCLULir6b3GNSF9CakdX5pLgQJuLu SXL2omAFm3qGYFXR89xEOBLhgsFcJo14gsjOR5cZLuZmBrBW/xA/nYzYTiLSJdoAAxec CnFmMeA7JfrjxL4FcDy+mBN86lG5vDNDf2PCHSb70aiol6UJS3IZvUnx3DpW1BqVC934 JKaeHr0eCeIxVo0cUjzDBtH63+r/6PR3o4QIKdDmy914VY6i8UHlF/rcgMCRTVnvGfs/ v2YmKYh+H+sLxBkbK9hTveENoOodskYD0iyu8PQEvjXRIJDZmB7tVjmDeDmAtKFI2Jeu 3FsQ== X-Gm-Message-State: ABy/qLaPspR5wYa4uXyk4ZYOp74YIgiuLT1DcoHEJhmANQYIlfmLEWAD yP7iZxAZMa8PQIvzxC6oxIYI+WHNm7PIZPahxnf90w== X-Google-Smtp-Source: APBJJlFVEcPFLDrN/oen6YPLj2Ucl3t2hON9kPLyv7jQiBa+bstkTvVhNJ+UJv6N1nqeYL5cNq8yAw== X-Received: by 2002:a0d:fbc3:0:b0:583:523e:6569 with SMTP id l186-20020a0dfbc3000000b00583523e6569mr1632991ywf.17.1689982483196; Fri, 21 Jul 2023 16:34:43 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-81e1-2dbc-e68b-5ea0.res6.spectrum.com. [2603:6081:7b00:6400:81e1:2dbc:e68b:5ea0]) by smtp.gmail.com with ESMTPSA id x19-20020a81a013000000b00579df9098e3sm1236228ywg.38.2023.07.21.16.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 16:34:42 -0700 (PDT) Date: Fri, 21 Jul 2023 19:34:41 -0400 From: Tom Rini To: Nishanth Menon Cc: u-boot@lists.denx.de, Wadim Egorov , Francesco Dolcini , Sjoerd Simons , Neha Malcom Francis , Bryan Brattlof , Vignesh Raghavendra , Nitin Yadav , Ravi Gunasekaran Subject: Re: [PATCH] arm: mach-k3: *: dev-data: Update to use ARRAY_SIZE Message-ID: <20230721233441.GK3630934@bill-the-cat> References: <20230713193634.3360033-1-nm@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NC1FDZnwA/uR8FLU" Content-Disposition: inline In-Reply-To: <20230713193634.3360033-1-nm@ti.com> X-Clacks-Overhead: GNU Terry Pratchett 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.8 at phobos.denx.de X-Virus-Status: Clean --NC1FDZnwA/uR8FLU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 13, 2023 at 02:36:34PM -0500, Nishanth Menon wrote: > Instead of hard-coding the count of entries manually, use ARRAY_SIZE > to keep the count updates appropriately. >=20 > Cc: Bryan Brattlof > Suggested-by: Ravi Gunasekaran > Signed-off-by: Nishanth Menon > Reviewed-by: Bryan Brattlof > Reviewed-by: Siddharth Vadapalli Applied to u-boot/master, thanks! --=20 Tom --NC1FDZnwA/uR8FLU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmS7FhAACgkQFHw5/5Y0 tyw9ZAwAuKdo3jCaDN0nTtoKt1kf5auod1cDfzoYFNS3ybYbDtX9ag3LiYYNb2ZW 0tVpsc6J6sz1JarYQJiWhT0/ieUPbIH1WKG8AAqU5eG79Q2MZBONlMzKVqNlPeuw Bi1UfUqAASbQ+iP2MDM0hjyYspQ/SxC7gEWs15yRJr0uLB7WFhqJP3BbaaXScSbg KQ1/h8lIzBAQpHS09e20/NoNKykCyQya2AfTG3ERBwyYH43FIOMxQuwA/0ugGwjP /HWF3QnNENVnvgMiJJFWm/HPD4hBj3GZc2Gf+Zc37/FgtOhdgEh2M4SOmTtKwh5Y 26dzME8TSCuD5FnTORvp150sQnvVfJdLsXyojJF590Y+eyO8LU7oRepLTc5W3Dxw Vu793S8o9nOV9BvRcd78YFrECyWRmYno9hvKsBoLbeNFJvJkeI1mEJrJhTLZnIMX l8nVsoh/Ea119l3bQuLU35UIWqehAs6S4o5k/Kz1QPudaYiCDDfQm+/bSu70r1Fb Pw8KdQMI =R1pO -----END PGP SIGNATURE----- --NC1FDZnwA/uR8FLU--