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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 279CCC433FE for ; Sun, 21 Nov 2021 22:53:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235407AbhKUW4I (ORCPT ); Sun, 21 Nov 2021 17:56:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231199AbhKUW4H (ORCPT ); Sun, 21 Nov 2021 17:56:07 -0500 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA76FC061714 for ; Sun, 21 Nov 2021 14:53:01 -0800 (PST) Received: by mail-ot1-x329.google.com with SMTP id r10-20020a056830080a00b0055c8fd2cebdso26103315ots.6 for ; Sun, 21 Nov 2021 14:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=S//kcdyi9GmuVtFFWZJxzddMkWbwj0AFmp8Ot6MTCXk=; b=IMU391RrRtUnCOvmWJGSJh/nGzQfdq8VclIfY4AqWUvZ0pcjcKHK/KIf+a+PC+ebK+ 8mKuwjNlt1KEvyRebl0A4lCgzwGJUiHwqQ/t9JQ5Mtd2MKk4YhtcnTo7vUmeGtamXsMn XxqAERrg42V4EsCVFPzYnGhe+oMpiUtgPAVUhfer3Ip6cNGxdPAhGYDAI8Nl38HD+qRh ByQ+SZGWOnxaKJhvZV1gEGO9ZRJqvC4OusufJlPUk31ro7wSdw5Xf2JdjrHTC/m+D+2Q hkH9BJaC9pZkwvYJRi/p4dy7Y1ClbQiFXWD1aQ5TGW0fuKTH4cFMTeEaWFC3Uxf0O8Zl yZ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=S//kcdyi9GmuVtFFWZJxzddMkWbwj0AFmp8Ot6MTCXk=; b=oUwRX6i6TR6SgMncs953/mkP5bl14Eh5D50Sxbjwwdy+9SDdVp9VYRPPBn+LuWT9kV TezbLa9KYjchZrEbdzFswZhRYbkvgaLHxhXq7Jpbd4qDdPoEigPUlKxR6MdwXNhO+5n/ PznM1yP+/fcsPXaYASZ73PsycCBktOEBBf0hbA5EyIz56qu1GlCR5N5OKtZHL/6XEb4h VJptr5ASQQ4ndPvm9af8AzeAq5V/5z8OyTMgg30IunxrSlzeGzmiCjTTxgY/poQfAqHc JY3+Sto5H3k7QqrS0Y7Rw+hA38TSzvmP95nr3jBnqk1BuagS5kb0X2cR/ghTS5cmGtmQ Nyvg== X-Gm-Message-State: AOAM532biaJBwZ10gqyqLPvex9W6fIfOmSLrLOuhXYfcos3FaRyexZwx MAFuSN9xxaFLm0+LPTs4UpAwXu8UFYNT2syidOt28Q== X-Google-Smtp-Source: ABdhPJwh1/64QH5jwxroi7Tl6t/WXccLTmI+SyTglDokhNiEBtObr6tMM78Ecm4rZRJ3pRiJFlx1BUbLKXeYlxBHm8A= X-Received: by 2002:a9d:ed6:: with SMTP id 80mr20428469otj.35.1637535180934; Sun, 21 Nov 2021 14:53:00 -0800 (PST) MIME-Version: 1.0 References: <20211110071900.4490-1-zhiyong.tao@mediatek.com> <20211110071900.4490-2-zhiyong.tao@mediatek.com> In-Reply-To: <20211110071900.4490-2-zhiyong.tao@mediatek.com> From: Linus Walleij Date: Sun, 21 Nov 2021 23:52:49 +0100 Message-ID: Subject: Re: [PATCH v4] pinctrl: mediatek: fix global-out-of-bounds issue To: Zhiyong Tao Cc: robh+dt@kernel.org, mark.rutland@arm.com, matthias.bgg@gmail.com, sean.wang@kernel.org, srv_heupstream@mediatek.com, hui.liu@mediatek.com, light.hsieh@mediatek.com, sean.wang@mediatek.com, seiya.wang@mediatek.com, rex-bc.chen@mediatek.com, guodong.liu@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, Guodong Liu , Chen-Yu Tsai Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 10, 2021 at 8:19 AM Zhiyong Tao wrote: > From: Guodong Liu > > When eint virtual eint number is greater than gpio number, > it maybe produce 'desc[eint_n]' size globle-out-of-bounds issue. > > Signed-off-by: Guodong Liu > Signed-off-by: Zhiyong Tao > Reviewed-by: Chen-Yu Tsai > --- > Changes in patch v4: > 1. fix sort signed-off-by name. > 2. add Reviewed-by. Patch applied for fixes! Yours, Linus Walleij