From patchwork Thu May 18 22:03:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96068 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp830159vqo; Thu, 18 May 2023 15:11:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72qNRxsieyFB2Vk896jxgv4XFcvsbZxHUh1M+4rEY5CZ3xJsTs3tUIk9kgvCDMfDSwlW7i X-Received: by 2002:a05:6a00:1891:b0:63d:45f3:9fc with SMTP id x17-20020a056a00189100b0063d45f309fcmr730669pfh.5.1684447900129; Thu, 18 May 2023 15:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684447900; cv=none; d=google.com; s=arc-20160816; b=KnUTkvQcoSPiz7reySf3RLxtDgFfizKri9bYGCKQc9PT0+9Lh2mapVF9mMcbvbB14t 6FjohQ6km8bOwZTjzyaPjpaQHjPHjg3x7QnsX2iK7j7qNsP+rCPVtDEgz1ryDmWpgOW3 pVig/N9iqMLIeEt2hfrSJ3X4xWBp2DbNkUl7R+Qdj10lWbsKSDVmBJGboDihXlTY5wKk ZvQF4e1wVyHaw0gZLTzxRki5MoMTNZSD0UpqazufZ2pCYoblkDJNNgiUbVRVIkMkdwKc c5Wx6CJIbu4BkuAk5Nnd+MKN+g6b9TZHy/zhRKQ/vxi7obQ1eh9YGW7vv86Tecd9Epls 3xQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=PcgtW3iA4+dOUhzzk/M2he6NDx+hgFUlACPkQmL+IVI=; b=IBzE4VGULygrX8Eo5CEI7swzHSwPuCDcph4z/gs8FxZ1qh3n++XSa+xWbsEU/ZxRGw ZoPWMFSj38ML5txUOHdFzWwLookYm8sDFBouCtPIoBqAttiF4h64H2V5fLUIQ4+ey1Bb 8KQ0rxjdpiLuDPG/arMj3Quji1Y3PLzUqR8Pt/I0lB/T/pZVDvZql5vNqFV7+ZRHkHrH DS/oUypxuS1RGHJ6SOJoQ6CvC+wbSlMB75cVFZyzHyLAxyl8W70EF6SA1Um/WUfEjQ+q drnAXmXvRs2UxInqKg09NKqL9nUiBbEN8qSCFa6HvdVwb7yTdvkZueYcM8yUbo98DKDv eMbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=mkcMrZLF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=xQlDWD4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j184-20020a6380c1000000b005347d35b573si1657010pgd.580.2023.05.18.15.11.25; Thu, 18 May 2023 15:11:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=mkcMrZLF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=xQlDWD4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231132AbjERWDx (ORCPT + 99 others); Thu, 18 May 2023 18:03:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbjERWDV (ORCPT ); Thu, 18 May 2023 18:03:21 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 401BEE7A; Thu, 18 May 2023 15:03:18 -0700 (PDT) Date: Thu, 18 May 2023 22:03:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447395; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PcgtW3iA4+dOUhzzk/M2he6NDx+hgFUlACPkQmL+IVI=; b=mkcMrZLFWhphvPJ8QzuXMqo0gu3z8a43LPLnSNFoDNTq2CpShPSeG8oXVEhYcPLlcrFxKU mDP47f3XrEl88CQbYRjyA+StsB8qMmAHmb45eWgk/diP60re40dDEiR0yGavn7/Y/7B+9r tRnc4PaIvT/Q6yS744jwXifdr9L35hi2/FmLMTqjfrJfx6yB2cmoL6/dcmKW4nh5Sv7TOK HIwaOvabz9MJxAlbdhXAyQCu0XxvPDcQexA5qA7PckeFybr2Ze2j3+DJMncgzK35vrWSE4 vOUSw/QP38FAjVFsC+03hWTZKywVRNYmVxrqV60akT3FfLY4x+UIS+mZVatXlA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447395; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PcgtW3iA4+dOUhzzk/M2he6NDx+hgFUlACPkQmL+IVI=; b=xQlDWD4qoho+SxiVvKxcUYknmEb/0RqODuADgO9XHO2UUtmYzVVhQqnuLRFHbN0NnKfkB4 i2wt/htfuYqfyLAA== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86: Add dummy prototype for mk_early_pgtbl_32() Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739518.404.1158362129763767934.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766271641242897235?= X-GMAIL-MSGID: =?utf-8?q?1766271641242897235?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 2eb5d1df2aa657ccc65cfab67e65eb9f97cef4d6 Gitweb: https://git.kernel.org/tip/2eb5d1df2aa657ccc65cfab67e65eb9f97cef4d6 Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:34 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:16 -07:00 x86: Add dummy prototype for mk_early_pgtbl_32() 'make W=1' warns about a function without a prototype in the x86-32 head code: arch/x86/kernel/head32.c:72:13: error: no previous prototype for 'mk_early_pgtbl_32' [-Werror=missing-prototypes] This is called from assembler code, so it does not actually need a prototype. I could not find an appropriate header for it, so just declare it in front of the definition to shut up the warning. Signed-off-by: Arnd Bergmann Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-6-arnd%40kernel.org --- arch/x86/kernel/head32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head32.c index 10c27b4..246a609 100644 --- a/arch/x86/kernel/head32.c +++ b/arch/x86/kernel/head32.c @@ -69,6 +69,7 @@ asmlinkage __visible void __init __noreturn i386_start_kernel(void) * to the first kernel PMD. Note the upper half of each PMD or PTE are * always zero at this stage. */ +void __init mk_early_pgtbl_32(void); void __init mk_early_pgtbl_32(void) { #ifdef __pa