Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5382637pxb; Wed, 26 Jan 2022 10:37:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzxYamG1Btcwxm+5OZf83vj0V+TlCktQaWqVO0XCEL5Fk7AOv7G/ceN1xC5tqjQpKXMZhk X-Received: by 2002:a17:906:7c4:: with SMTP id m4mr21385810ejc.655.1643222270861; Wed, 26 Jan 2022 10:37:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643222270; cv=none; d=google.com; s=arc-20160816; b=AglUwc0dr0opJLuasOCc/hCNyuC0zhy0qC+7124STumt92CkLL6sdhuKJL+malkxV1 LfbubMbOInMk8Aek228thTXKoFGKrAAnEbv6Hgtm3+V+CzM2B7Ii4Z6m1LOCOKfSey8s d419HW19YHmDvsPoyScAQlh+xR+V6rMRoVXB2Q1F/KLEdxUxo2dg+43ixqVA41Dv/Mn9 o0rajVxzhe3t0Bzm8qXt5qxmbGiNUZJJZb/xDQkymmMViHSyPAmHqd0UkOsQHHsmOp5c 3BTJnVnhzn1B+UjlBAbxfswgScruefXB05OfhHDXk3Ch2nkRWvv19eFw1Jqsu8WBR3nm cdhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=WpKaAwk1NhK17FIjU8cqvIOlC6bYJe/Zrs2ho6JnQfc=; b=goXZFaPNWZJG55G8i+9PsZLZeWCIqi10z2Yj9dgL2LmPu0XsIitWzrN/1zreEhTNVK 5Vfn/5f3EWkw5aSIfVF9JdE3zpmIkOxa9cKFvn5N1s4PeyIfrw4tcTGVaM+hWw2Ny2OJ XFJDr/27AXh0CY74R/rQH68Z3pJnBSzS+jFcqxQtj+hrQbFqW/0zA1rlN+i1BcQKF+H3 Efgs1aM8t71y8OknmIlosw1+qrm9F6fepsuX6K0U4N6LV6KMO5NhipK+McaSb3+9l0QR iz69wuR/A8BG0Kz90c1j6eBOQ3e/RQOAm/0B07nYflZN2dndbJ1eaKZbyndcDhc0PbxR vAog== 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 m13si11790ejn.0.2022.01.26.10.37.25; Wed, 26 Jan 2022 10:37:50 -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 S231829AbiAZFMC (ORCPT + 99 others); Wed, 26 Jan 2022 00:12:02 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:41980 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229691AbiAZFMB (ORCPT ); Wed, 26 Jan 2022 00:12:01 -0500 X-UUID: fafe2870f8f34f8d95237fb10f976999-20220126 X-UUID: fafe2870f8f34f8d95237fb10f976999-20220126 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1316894194; Wed, 26 Jan 2022 13:11:56 +0800 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 Jan 2022 13:11:55 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 Jan 2022 13:11:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 26 Jan 2022 13:11:55 +0800 From: Miles Chen To: CC: , , , , , , , , Subject: RE: [PATCH] pinctrl: fix a discarded-qualifiers build error Date: Wed, 26 Jan 2022 13:11:55 +0800 Message-ID: <20220126051155.25808-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <693a71e17b364afd987f2d2178b7e5cb@AcuMS.aculab.com> References: <693a71e17b364afd987f2d2178b7e5cb@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > You should change the type of 'grp' not add a cast. > The compiler can warn about casts removing 'const' as well. > > David Thanks for the comment, I just found that this issue has been fixed [1] Miles [1] https://lore.kernel.org/lkml/DM6PR11MB3660804C821D7CA7329B6CAFC45F9@DM6PR11MB3660.namprd11.prod.outlook.com/