Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp810438iob; Wed, 18 May 2022 13:34:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwchufybhjmL0DxtHBwqrRW1AkrsNhGWg3wWOVAbQLvT9Rj3Bda0qM/89n1jpaBcVrCzKYG X-Received: by 2002:a65:4182:0:b0:3f6:297d:ecf2 with SMTP id a2-20020a654182000000b003f6297decf2mr1005390pgq.111.1652906068449; Wed, 18 May 2022 13:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652906068; cv=none; d=google.com; s=arc-20160816; b=CDidMiqaAVVl1fS1RO7fqiveXETfJCuoyVcE02I7oDYnLILrGjnOdzH3C7wUwIeb6/ 3koI+/KICOc0kI9Q6kAxceMhe3hxb4O5Z4k8ycKpzu1yLYQSXGkGzFL0PX4lpU4eRXAZ BqvRJpua5d7WxiD61vZF2p2qcwmA5UTt37BP2eZvFvvrG84y38zhjpb2U7UT0wMQGpEd yNXBiJpfLxPaJe1gZuEwtq8DUPi73XN4n8c2LL9gM+46ganbgBhY0d82oF1rV0tMy0lA POeqvE+Ytlez9gDFTXpegEyR/vmt5oo0emoQ0s1EQ4L2GuFMlQWcj680Hv+Pr7R/BupV EHGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=sjaCDr9zvFHDaefm+MkdBE5eRInSqjlcvYK08lou6tU=; b=yh/szmC79xhFr1/2Tq1zLHJmdDU12suLYUU2xfVeELbMTpIYtLp4YA1RbXF56FKfNN ZleUzOuRAKc9Ewah7UaS3M4QTNsfHhfj7BqAR1ggkkZYEuGpnqzQ0e0+gJpeDd3y+ZS+ Y4rN/A94iovMk2fcmwtAcsHs6iQkK2nsvsAGdX6rIyM6KJVX6BHfb0dDqGfILcc06dZZ W+eXMKK+cwZej/tc04ftACLdV/zAsADE35wUq+Z+WDhgAW9CZBypoDaa6Y6RakGJi3dV CLWUJKnL5bIOD4LwccltxvzdG3vtJwCD0/UbcfTbVptkdIrdBzHFC+FCeUb7hfsLsTia LFvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ve/WyoSi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q9-20020a170902dac900b0015f090c1324si4334606plx.66.2022.05.18.13.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 13:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ve/WyoSi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 663672218D6; Wed, 18 May 2022 13:34:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242627AbiERUeU (ORCPT + 99 others); Wed, 18 May 2022 16:34:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242454AbiERUeT (ORCPT ); Wed, 18 May 2022 16:34:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40FD5EBAB1; Wed, 18 May 2022 13:34:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D0BDB619F6; Wed, 18 May 2022 20:34:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33791C385A9; Wed, 18 May 2022 20:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652906058; bh=sjaCDr9zvFHDaefm+MkdBE5eRInSqjlcvYK08lou6tU=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=Ve/WyoSi5GLme3oUyX3aG/07ESBBrOzBNTFCO6ydxn/Za0DwmdLhwQ+T1I5sV6snR ywKhGYGE+yxkqw0hOOVCPzPpMOfOgoSKgjLC7ydf90Y4zox7MAAbpT1nu7soOMOWlC zw8Lxie3uFZzPCXusbnNi9PlD2moYln0gwOaCvS/iXc0vGlRW/waKtbUx8o6shZMvq FQ/Ly62iFWzzD5QKTE4WdP3qey4oLfVHngkpyGnPc7KN47h8NRyO5EqwDCdoX2oXpr JpEUpomqfHuDxlThk8w/DKm/+FyhD/1eXz9yYlFLd42fEPZSajBQBBMHAGWwbe3rSO MpwQmutapXuOw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220518062537.17933-1-hbh25y@gmail.com> References: <20220518062537.17933-1-hbh25y@gmail.com> Subject: Re: [PATCH] clk: ux500: fix a possible off-by-one in u8500_prcc_reset_base() From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hangyu Hua To: Hangyu Hua , linus.walleij@linaro.org, mturquette@baylibre.com, ulf.hansson@linaro.org Date: Wed, 18 May 2022 13:34:16 -0700 User-Agent: alot/0.10 Message-Id: <20220518203418.33791C385A9@smtp.kernel.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Hangyu Hua (2022-05-17 23:25:37) > Off-by-one will happen when index =3D=3D ARRAY_SIZE(ur->base). >=20 > Fixes: b14cbdfd467d ("clk: ux500: Add driver for the reset portions of PR= CC") > Signed-off-by: Hangyu Hua > --- Applied to clk-next