Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4167244pxj; Tue, 11 May 2021 22:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFqr3CxOU8fypjSg7hT4acyHhi63M+zuoRWsKCbmxaRmy1fo1YRuZ8f69ynn7bQ9X3bKe8 X-Received: by 2002:a05:6e02:d41:: with SMTP id h1mr28791436ilj.0.1620797654625; Tue, 11 May 2021 22:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620797654; cv=none; d=google.com; s=arc-20160816; b=g+bV/G1+J6SIsij421L0LJNVoAw/3cTxUXR5Rjidcgeu+C7ATfbP3M/tgta7gz+h/d FQERvCbZauyVzHWAvjsC+DUZ36ry+0Ww37dVJNSyHKIlQwpFfR0TJYQNTR3RTx88Fa2v QOzlEkDAE7fN0ibMxw3NJ1yFcez1Am2uSFbXdpIwXoNzUwiVsfE5bAOlgkZEj0NUsBTP rHOdCbVa2FV1cYg2xqocVvjBACEWyR84UaQ7gc478PEWfE03R9n6l326TWJ3lIob3akB 09Gy6IHD+z8IITYylCpd+RorsXZ1jMQIPXIKdWXXhgQM211NPlI0OkEs5I0HrkjwGPgy 6p+g== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=1Hig6ufK3upmffi3QW656W1WbomkrJd5dyZdBbMqwVw=; b=DeU9U6SrjTrhBMOONBYxRAZnnzfdzJiLGHLt+0Rs1BEBRCS1RS1N6lytRuW2rBujLn Mj7hpMH40FY3/TU8PlJee3+iWuC2Ho+tZfhB3eq0WM50bDIjjfETAnThBCmrNGA8mZgQ o0k0JCLtyjKa63cFyAZGG5sAoR9o0ZxzIUoNiiee3vDm/qA5cp/ZtKCRqs8iLv6R7jd5 hhXLfkYuGmdYCKTibdVwvemxbyvjL3LiUgEXm09vpGJy1JpRZd5uiuRYe3pL79ISNdqh lYLKnEIXF2jiSFFqHr4QRNH3Et5hBXEjGn8DWYEHncyc23Qhj2NM8oKPUHHSTYH/JV3/ pvyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BSE5Y2r0; 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=pass (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 j6si22991616ilu.44.2021.05.11.22.34.01; Tue, 11 May 2021 22:34:14 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=BSE5Y2r0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229654AbhELFef (ORCPT + 99 others); Wed, 12 May 2021 01:34:35 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:34651 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229580AbhELFef (ORCPT ); Wed, 12 May 2021 01:34:35 -0400 X-UUID: 5797150b343e496b963cce3ee13a5135-20210512 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=1Hig6ufK3upmffi3QW656W1WbomkrJd5dyZdBbMqwVw=; b=BSE5Y2r0ghMJwbL/rAcEdfCIBDqrcRnixuB/KATPf742dyLtWetXWUe7goYoRsfz2/LecHpSYryN80CrTPsAhsrN6ORbV4cy4dVdvUNBOvGM+B02Q6aj1wNKIUYXQetgxYkRLqUkIzPp8dBWGuaSI6NhZw4mqNJp1MX1BGZS5Z0=; X-UUID: 5797150b343e496b963cce3ee13a5135-20210512 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 499874169; Wed, 12 May 2021 13:33:22 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 12 May 2021 13:33:20 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 12 May 2021 13:33:20 +0800 Message-ID: <1620797600.14730.7.camel@mtkswgap22> Subject: Re: [PATCH] mm/sparse: fix check_usemap_section_nr warnings From: Miles Chen To: Mike Rapoport CC: Andrew Morton , , , , Date: Wed, 12 May 2021 13:33:20 +0800 In-Reply-To: References: <20210511093114.15123-1-miles.chen@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 0075D64FEC39526C3973E4FE3D00DD596B03BFF770B42BCC6A67117FD9B851EC2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIxLTA1LTExIGF0IDEzOjI0ICswMzAwLCBNaWtlIFJhcG9wb3J0IHdyb3RlOg0K PiBPbiBUdWUsIE1heSAxMSwgMjAyMSBhdCAwNTozMToxNFBNICswODAwLCBNaWxlcyBDaGVuIHdy b3RlOg0KPiA+IEluIGN1cnJlbnQgaW1wbGVtZW50YXRpb24gb2Ygbm9kZV9kYXRhLCBpZi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