Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3204008imu; Sat, 24 Nov 2018 00:02:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/WmFp4G3I17ksY5irW2bfVJ7tguoCwvDOO+hHAZVP7r1XvIqjPha4cG2WSFffMdb2bX4xA9 X-Received: by 2002:a65:6094:: with SMTP id t20mr16914911pgu.285.1543046572786; Sat, 24 Nov 2018 00:02:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543046572; cv=none; d=google.com; s=arc-20160816; b=miN3z7LVIQW6lReMGfzVL2vlZ3TW2lwe9cd34QjxFP2ec4aKw1wEjSzVfyUIvYTLCM bR0CME63XOJaWfvuZc7m2v4E4YqaDUvow8yiHRguiurAziCKiM5oODa87iWhzn1E6gW2 Tq8jKeoVGkxQ+UciaJBf0Tb6aV/O1aePrsAdq/sylITU04uYue8UlWFBeMA6MpC6PPaB noaG0tHPgkUQ6FfR5e6k0NGEEcWjLmn9vvHB0ZiSemj5cEeoQM2U/QFUxL7CaaRe49tJ uayGdEaWFLeLffmlc7HvyZV1GfuiZnDupmP8ES5LTypUxsitRXPkMOYO3RSCAGECjw8I Lpxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gQdZKYblrwTj4f+bCgwmPJ00GVcY5LnOcDagPbVLG3Y=; b=NZ+GvlshqIeRnPwUagqS1cd42XybwnjMeC+H4OiYX6V6haaXeSCo0eKtL9Rf78Yydc Uw8acQrS0ORHRFuP3Gzke6L4gnq9hkdclAsid9aj/3VwebBaEMI7KznVJUMHkdbbPSEo aULRuhL8Frn7J1PGE6p8K1BWDjLYHhgSjDMdGkQhABDegdTp63TFVB4NiUMlF37s9xpw FqVPqh/9ZqSSbupACDgqnHbIHRSv5mlSDmIQWPhZv5WKF3NF+eyi28bUgiq46zWggcTV 3BYofspPzWR4ww8oGltlIcqhYUGABXegEZt3AxKdkxOytXgAg/5uQcYoGcf92h6U1h/e ne0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Fk4yUBRN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m142si37241962pfd.171.2018.11.24.00.02.38; Sat, 24 Nov 2018 00:02:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Fk4yUBRN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408222AbeKWRqV (ORCPT + 99 others); Fri, 23 Nov 2018 12:46:21 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40396 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731655AbeKWRqU (ORCPT ); Fri, 23 Nov 2018 12:46:20 -0500 Received: by mail-wr1-f68.google.com with SMTP id p4so11248117wrt.7; Thu, 22 Nov 2018 23:03:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=gQdZKYblrwTj4f+bCgwmPJ00GVcY5LnOcDagPbVLG3Y=; b=Fk4yUBRNxIqZjCaXkHOJ0T2WyX9VXGl7ElxKMqMFuY5UEVJk2GEKuA2cowTQXX3Nvw t8YSunHD7YbkjjauGQJWc9NPKjTFKzCQi9OhdP/cL5qeixwB3LRi8H8rrGgQQ3/sT7s8 okp1fdzbsusfm5buavNpHtkuxpppyN2qzO7u5NB/ff/OsnTaSHWTjLhykoAhqHmcQNKN rllxQTd9C9BTshG/Sinc6SVvfY8ZVB1iXEwpyFihwP0eecgYX26yzW2IvMq/xQYbBJc2 xd1tfFKMoi2jHjuPFlJ1awgryIVrsihsj5opS050HgzU7e8CnvyH0sl5MedEIk/0j41e PW3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=gQdZKYblrwTj4f+bCgwmPJ00GVcY5LnOcDagPbVLG3Y=; b=YgxxSjDyBbw8T4K8eZHX6yrvm3KcrLqnMOFCC83x8zOuPTI1LjEbpP4Ehx/W2cIR37 C/ZF48FhL5G8dZ3aBJ7v/GKkrCLG5LNjd/liiqsIpYLUYp/Ry6jae2SXOed33hhHzPuK RjGV/+SmYOlmGfpDtJ6B2gnRgopgSxw6mt+Y6NtyEPGNwS8WK7UTzc/6CPOdCeBq/c0a /pqF0iyW9kssURFZQMQgASyNGvQ2HhLDEpCaL2xO3Eix+RR4iXpqQwHWx8o9RhqMF6Y+ eCTiPaa538t+LMy0bsGjLrLEfzHTLYIV1V2Yl7ELSuZ+HV3PE9SWVIRVpvvRNRoEvdmY p/tA== X-Gm-Message-State: AA+aEWbq8U0uLQG5ucIMgd3YOy+i4uP8vudeeA2vbtfXHrilX4wo00R0 QLHPD45/TPcPp+Pw1G7j8qY= X-Received: by 2002:a5d:470b:: with SMTP id y11mr11944684wrq.16.1542956602086; Thu, 22 Nov 2018 23:03:22 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id x8sm14620145wrd.53.2018.11.22.23.03.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Nov 2018 23:03:21 -0800 (PST) Date: Fri, 23 Nov 2018 08:03:19 +0100 From: Ingo Molnar To: wang.yi59@zte.com.cn, torvalds@linux-foundation.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com, peterz@infradead.org Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/cleanups] x86/headers: Fix -Wmissing-prototypes warning Message-ID: <20181123070318.GA41027@gmail.com> References: <1542852249-19820-1-git-send-email-wang.yi59@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * tip-bot for Yi Wang wrote: > Commit-ID: d37904c5b14317a2c76efec6b9e4dbcaa17380e5 > Gitweb: https://git.kernel.org/tip/d37904c5b14317a2c76efec6b9e4dbcaa17380e5 > Author: Yi Wang > AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800 > Committer: Ingo Molnar > CommitDate: Thu, 22 Nov 2018 09:52:28 +0100 > > x86/headers: Fix -Wmissing-prototypes warning > #endif /* _ASM_X86_CRASH_H */ > diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h > index eea40d52ca78..063f1d4d698e 100644 > --- a/arch/x86/include/asm/efi.h > +++ b/arch/x86/include/asm/efi.h > @@ -173,8 +173,6 @@ static inline bool efi_runtime_supported(void) > extern struct console early_efi_console; > extern void parse_efi_setup(u64 phys_addr, u32 data_len); > > -extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt); > - > #ifdef CONFIG_EFI_MIXED > extern void efi_thunk_runtime_setup(void); > extern efi_status_t efi_thunk_set_virtual_address_map( > diff --git a/include/linux/efi.h b/include/linux/efi.h > index 845174e113ce..890c4cb37502 100644 > --- a/include/linux/efi.h > +++ b/include/linux/efi.h > @@ -1053,6 +1053,8 @@ extern struct kobject *efi_kobj; > extern int efi_reboot_quirk_mode; > extern bool efi_poweroff_required(void); > > +extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt); > + > #ifdef CONFIG_EFI_FAKE_MEMMAP > extern void __init efi_fake_memmap(void); > #else These efifb_setup_from_dmi() changes were completely bogus and broke every non-x86 EFI architecture, which a simple: git grep efifb_setup_from_dmi should have already exposed. Did you actually check the usage of every single prototype and think about them case by case? It doesn't seem to be the case. Thanks, Ingo