From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F5BBC433ED for ; Mon, 17 May 2021 10:25:22 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8C1FD61184 for ; Mon, 17 May 2021 10:25:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C1FD61184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=q0ZjOGq32U2tYxe6efOmk9r0aYUoeYJ4tX+2XzYNODs=; b=Ovjjk5skhi9xq69z1GWLGai7f VmbsytUqosNr56bmg3J6txAprEB34nyHZipl7TW3kUnLQgoCQQrCUatNVU42al3sOGI4jFJXt+Aa4 Bth5UHHllbSLsGKiD+lcQJ6C/KYSbk7d2ex+IYCC2bezGft3ipqqDxiYfZdkGsT9Eqy/k44sKTJbp s2nwuUnoEDvf6cCU82Yq8yorqWeocg0wMAxUNk8euS2nwtiWNg1DRhTFZQd8vo6P3QFsTW1hKTUDm OjPCD5EMPg5t8j5Tj4wBNIOfxEih0Et3/Gh2MC96VBblKfLFW9yurc+vDnG11+qdXNl4TMEf41yf2 0k1z5/KbQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liaOX-00EYvw-UV; Mon, 17 May 2021 10:22:42 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liaO6-00EYoI-Lj for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 10:22:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GAW9u6WixqqPIeGw05JLtcm5cUUUK2Xv8xLSrk94EGQ=; b=OfdK7tWhh6cUTqUqz9QGpIjftb gcSW4DGuK0WcFSI7KyDZ2nW9GOaJsleL79SZGPjRq+n50L2IjLkvDsnog2+YnHc/X0ceUJrPim1tH GMk7TYf1ySF0HLerI/L503NazYj8NW2ibYdpkYtjaR+V4qbpwJ+DFAQpDEaj9F/Iv4U/UvuZNVgMP fNB/2IX52CIZRjTyt4AirK8alerQDjAvB6cy8Zf6iUF8vPenzbxBjz5jo418drhGRU/Jy/gapX0LZ s+S4lEKHLjKntg5JA79bRU8Y1XlKoac6h2xYYmxjBHNbWjAwXLmKUJLsP53nT/VU3oSiyjSJjTykq TbZ39mHw==; Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liaO4-00Dfuq-3h for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 10:22:13 +0000 Received: by mail-lf1-x136.google.com with SMTP id z13so8026263lft.1 for ; Mon, 17 May 2021 03:22:11 -0700 (PDT) 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=GAW9u6WixqqPIeGw05JLtcm5cUUUK2Xv8xLSrk94EGQ=; b=H7Kheoimq2vnIYcfEU57WPjOJJCza2qo7ZnqMBjedS3mI69AhkeDkp56BsF+92Srxd bdnAiXfx+GvrsTEd0hb7EsTQHmL7cSiy/n4bii7ZLR14Bco6a3qJtFY5jLkrhpVWWzqg bLkH+5wQTwnl7rQF+E7rGZp0C2p/tXrlnW54J5ai9cora/NOEdaA+T1p6LZn7c01ejsC qbwgNVj6gLopAq47YD+oc9VQ8ULjGpg6lNvbpJ3JvPpgocfvHcXa2v7NtEnsPXXlhuSB vWhM/+YtNe35RviL0CEA5wOCTpKcwYpKHYEGesN+jKpkQKChYwqidduSn8Q+ty0suaeC eppA== 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=GAW9u6WixqqPIeGw05JLtcm5cUUUK2Xv8xLSrk94EGQ=; b=ebAjvQU1aJtwQECCgtJp5NrUgG7/4aCYisTk51OQIbCiZljLTbNy2Sw/OFUDmZAMwF akt+xzsTQmXRPFsM57PFAPBg2Ar3hOtHffH2CU8riC7Z61hYsC4/ba57h1cCbo8REesg wqMJ+8JyPmfMpq3k6FVaziplnOdWIJKKdbNWf0QOuvlA9HSjzG7cp6eh2MbzG83smV9I QyhOJDadyjV5QrSK0GYInkiPMtjUrKTq2pNmj3vpBrLVwGNCCJNd9nCeqLMb7ldGC1dw fRkEfFpAcbMPea3TB/pG6rsKaJaG4/6ciYLF/CnsYI0I+cSei+5UCaDibJ/A5Mv1TdG6 S8FQ== X-Gm-Message-State: AOAM531ZXMto/ExBstqg8OZBGSAPWvbyA/514fAw1WMNwlS2HPou/v/x TGMEFt2RfBjTJ/WWIVz5qa5t28j5woYiWy65q7PvwQ== X-Google-Smtp-Source: ABdhPJx6XCWG5U+cv2mn/virCkkVVvKjrky4ABwDYKdmusoKHDnOg+zSXiadJlUxYXKqzfQU13K567CZvJECVeDgZ44= X-Received: by 2002:a05:6512:49b:: with SMTP id v27mr12770921lfq.29.1621246930198; Mon, 17 May 2021 03:22:10 -0700 (PDT) MIME-Version: 1.0 References: <20210511090318.478586-1-arnd@kernel.org> In-Reply-To: <20210511090318.478586-1-arnd@kernel.org> From: Linus Walleij Date: Mon, 17 May 2021 12:21:59 +0200 Message-ID: Subject: Re: [PATCH] ARM: mark prepare_page_table as __init To: Arnd Bergmann Cc: Russell King , Arnd Bergmann , Mike Rapoport , Ard Biesheuvel , Andrew Morton , Hailong Liu , Changbin Du , Linux ARM , linux-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_032212_202939_CD437744 X-CRM114-Status: GOOD ( 13.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 11, 2021 at 11:04 AM Arnd Bergmann wrote: > From: Arnd Bergmann > > In some configurations when building with gcc-11, prepare_page_table > does not get inline, which causes a build time warning for a section > mismatch: > > WARNING: modpost: vmlinux.o(.text.unlikely+0xce8): Section mismatch in reference from the function prepare_page_table() to the (unknown reference) .init.data:(unknown) > The function prepare_page_table() references > the (unknown reference) __initdata (unknown). > This is often because prepare_page_table lacks a __initdata > annotation or the annotation of (unknown) is wrong. > > Mark the function as __init to avoid the warning regardless of the > inlining. > > Signed-off-by: Arnd Bergmann Like the others say, drop inline, with that: Reviewed-by: Linus Walleij Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel