Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp732369pxh; Tue, 9 Nov 2021 18:20:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS06Zf9rWx9/g1P8DWkP3HC+7zsEwnV7TshdZditLTSt7HwmB6uz2cy/lT696zbcr/l3pm X-Received: by 2002:a92:b09:: with SMTP id b9mr9370170ilf.148.1636510826081; Tue, 09 Nov 2021 18:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636510826; cv=none; d=google.com; s=arc-20160816; b=Mv2PctQuIyCN4cFev5UlOjaQ255/DcGxfYyV9FZkY0wtiAWNIIYVEw0Ryzg6DtKwyH jZdFrTWKU5hFcNmruEYfnyYD5hW4T8u8tO9foIJWHeqFgfcruQyX/EzTefLabxwu5jIE 17aZE2jRCTSlo2vEeVuaVWxUDEZ5LbJLBxKACR+8Lu9oE+937YVS7Esnb9BGLESHX6sW BcKyMRQ3pBX20dDQppFRGAf+fH3JskT4QV/KXBXldTqgpTKYBpIs8V1olzubE3pwBGow NWkRJHBocF5soq8eLfHkqn/ru+7PeyNiU1EwHJpURMrYkoWzeqtLtFy7X33xUdza0LfY ytUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=rcQQUPEtkfjoT8WQfA13msZebgxEMDtkprQvsBrHqPk=; b=NYFE8O2zansvZLYyf6EJsYFW1qdIfODNBxIZFGo4b4liN90j4nnirBSRZt4xwUK0sH snJWKW1VcZHem0SKilkxwrFfE5QzXNRad1gqYhYBt6YwKDMnwDOJ/KGAUOiawQMTlI58 Wv7w2h1Vksypuyx7gN2xgMklOvcWHQWqdheq0Szou4uorosJ+Z1bEE7N5yMrcfyG3hlA qqiEr9uazP2jM9Zj7+3vEx2p/c3h7AG4jp913n3DBeCsAq5wfKWEhvjFaoT4CEKB7EpU e70aRveIbT/WlE56nqgdK2oQc40xw5XeQ92Ky3GUhsNxLuJtDA5j4j3PNgvkDeIl929Z fDAw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h3si39563428ili.128.2021.11.09.18.20.11; Tue, 09 Nov 2021 18:20:26 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbhKJCRG (ORCPT + 99 others); Tue, 9 Nov 2021 21:17:06 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:59288 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229630AbhKJCRE (ORCPT ); Tue, 9 Nov 2021 21:17:04 -0500 X-UUID: 0d384af02bb242e48b9a527fd2e7d963-20211110 X-UUID: 0d384af02bb242e48b9a527fd2e7d963-20211110 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 42788957; Wed, 10 Nov 2021 10:14:15 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 10 Nov 2021 10:14:14 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs10n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Wed, 10 Nov 2021 10:14:13 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , Subject: [PATCH v3 0/1] Mediatek pinctrl patch Date: Wed, 10 Nov 2021 10:14:10 +0800 Message-ID: <20211110021411.31761-1-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes 1 patches: 1. fix global-out-of-bounds issue. Changes in patch v3: 1. keep original patch author 2. fix version issue. Changes in patch v2: 1. change check eint number boundary condition. Guodong Liu (1): pinctrl: mediatek: fix global-out-of-bounds issue drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.18.0