Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1508769pxj; Fri, 18 Jun 2021 08:37:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuHboZwIQ8dqEzfVFhhpOW5kGze1V/FOpbfZawB1FOKhDO0E8hm5zi6ndedAKVLW7GTAOy X-Received: by 2002:a17:906:5289:: with SMTP id c9mr11702104ejm.342.1624030649651; Fri, 18 Jun 2021 08:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624030649; cv=none; d=google.com; s=arc-20160816; b=vEz2SX27hfVh1kARbjzXwlcxLBqCaQdY0zZihGC6DU1qjL0LTgit6yRo+l2EkJWfaB c8L7giFE8bcvqkZWfzIB6PBx//3X65jPqX1qYjql0jFZ8Vh1dFurG1Abw7TeRMxMrIn5 BNijd+YX0NvsHuGE0TMstYS1TPz9lHGZ9NkHV4Whu/fx9dn7alfvTg+/n/S8B5Eas720 U2ogOMk5tAkmU5sMB24aEZ4HChfh71S+xxJHOTQO/3xI7SSzL1U4zoyI5OdtBQwoLYtv EsLyujmbLSdRPD8QhUqar8g/LHBLsxA7/zJHfAJnhRi0ltEBZoiIXBpQCpKyiDIbsADl s7ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=W5XIrf7pnbukFMGFVcj5Vb5Y79Tlhp3OdXuqaVb4DAY=; b=IxSozyI2fUYvPPysnerBJouLu0SGVMyxYv6fjdMBdTOyrU/AToec0oNKKzHke52P3m mxNmTgLHf2nKiABgIIgeeqa9Lop+yDT4YWTuDkZ3RpTn0ncVNlaJRWWPL8GVFiQxsiv8 SRXvt9mkq1wQCcWPmEBOTx+H0Vg97DYo0wEjDe3xMSvPgB4XPv49w7TtCj3fNTxENR3L n7rYV6pJoZvGbvpZk3Gs16lbpsn2oQaIegnfNApuLNv6oeThjkbFLQoXs+DrWUfN6k5g csR57K0NnFe4gJV4ISGqlTfIARz86zp9Ql3LS/BVLtywHbGPZJS2vBawn9E+0qioLlpd Qhyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yc9si2660651ejb.713.2021.06.18.08.37.05; Fri, 18 Jun 2021 08:37:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233508AbhFRLQu (ORCPT + 99 others); Fri, 18 Jun 2021 07:16:50 -0400 Received: from mail-vs1-f47.google.com ([209.85.217.47]:45584 "EHLO mail-vs1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbhFRLQi (ORCPT ); Fri, 18 Jun 2021 07:16:38 -0400 Received: by mail-vs1-f47.google.com with SMTP id k8so2294008vsg.12; Fri, 18 Jun 2021 04:14:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W5XIrf7pnbukFMGFVcj5Vb5Y79Tlhp3OdXuqaVb4DAY=; b=S8eEXxO5xvt0j8K9c7VrslyTu/SeFIROnkSC731xKP8ZHm3TUlEMwdIswjLRDhri69 Isj4aStfnT8Ll4PJHMTLAtYx8qamtmncslwuYLxc1ThJlMJBJY5HcCWDhsoe928kCv5M sAafukhFQYyAtZdYJfy8UEoKYSVMPghvLYEG28JSjAgahzpd64hCBClzGyDV39EDKnlU A069GEycR/Vq9tW3UhOUno2lawjFLlPMbg1zQvAQhFmxIO8noDnblL20ZVtQqqGfhztg sQi8kX7mwZEBV5buHu5OFEzQyoBvZKvd2FbTVX985vT8OC1uvkDDywwEGbqYO6kD4QgC Rr8w== X-Gm-Message-State: AOAM5316WY7+ttXpsX+uSZgtAL9M1YxbLOIcj9skrSV3TdDlhxjjAhPT LYLWC6I4nyaTcOYrYp8sXwvVmus/WPGRQsJ092k= X-Received: by 2002:a67:3c2:: with SMTP id 185mr6164750vsd.42.1624014869139; Fri, 18 Jun 2021 04:14:29 -0700 (PDT) MIME-Version: 1.0 References: <20210617155432.18827-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20210617155432.18827-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Fri, 18 Jun 2021 13:14:18 +0200 Message-ID: Subject: Re: [PATCH] clk: renesas: renesas-rzg2l-cpg: Fix off-by-one check in rzg2l_cpg_clk_src_twocell_get() To: Lad Prabhakar Cc: Dan Carpenter , Michael Turquette , Stephen Boyd , Biju Das , Prabhakar , Linux-Renesas , linux-clk , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 5:54 PM Lad Prabhakar wrote: > Fix clock index out of range check for module clocks in > rzg2l_cpg_clk_src_twocell_get(). > > Fixes: ef3c613ccd68 ("clk: renesas: Add CPG core wrapper for RZ/G2L SoC") > Reported-by: Dan Carpenter > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-clk-for-v5.15. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds