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 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AAF0EC77B7D for ; Thu, 18 May 2023 17:31:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 41CFB42871; Thu, 18 May 2023 17:31:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 41CFB42871 Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=GFDpkncO X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9zaybHdsaFrG; Thu, 18 May 2023 17:31:23 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id 5BECD4286C; Thu, 18 May 2023 17:31:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5BECD4286C Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2CED1C0035; Thu, 18 May 2023 17:31:22 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id D2393C002A for ; Thu, 18 May 2023 17:31:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B3EBC61454 for ; Thu, 18 May 2023 17:31:20 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org B3EBC61454 Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=GFDpkncO X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cvFE6sf6ZN7I for ; Thu, 18 May 2023 17:31:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E801161446 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by smtp3.osuosl.org (Postfix) with ESMTPS id E801161446 for ; Thu, 18 May 2023 17:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684431080; x=1715967080; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Wl8BDYVG0i7AvYNjyPawAfZhnam6nIO2zxc9kJVuY98=; b=GFDpkncOTo9o2L9HbGuq3cK9BQakj+aoEyOBNiRKWKmyccnmSoDApKQt WjlxhVpZ1u5RaM0hxHbUds9m0zbje4LUR2sR8IK59QHOALpfwdMtV2zzD gQ1e1nOIt2aHTkseyi2ib8u4rOcN9s61vJQ7Y223wC1BNlludeZL4y1tW YHSoXuUAf5/Dk/UQShQ/c58nGiOvkx/CL0NferJvi0EDZE30XiRGhn3DM UfKeS6S3p6rTuBGtY+r3kZ582aqmAK0uMySpjf2EQFDZGiNurMmQzK9Uw +N+0CgyDMqMqWB6ick8joiEcQloY35Z78ljul/QXaheHV75t3MrQMEGr0 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="354475456" X-IronPort-AV: E=Sophos;i="6.00,174,1681196400"; d="scan'208";a="354475456" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 10:31:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="1032284552" X-IronPort-AV: E=Sophos;i="6.00,174,1681196400"; d="scan'208";a="1032284552" Received: from nroy-mobl1.amr.corp.intel.com (HELO [10.209.81.123]) ([10.209.81.123]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 10:31:17 -0700 Message-ID: Date: Thu, 18 May 2023 10:31:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 00/20] x86: address -Wmissing-prototype warnings Content-Language: en-US To: Arnd Bergmann , x86@kernel.org References: <20230516193549.544673-1-arnd@kernel.org> From: Dave Hansen In-Reply-To: <20230516193549.544673-1-arnd@kernel.org> Cc: Mark Rutland , "Rafael J. Wysocki" , VMware PV-Drivers Reviewers , linux-pci@vger.kernel.org, Dave Hansen , virtualization@lists.linux-foundation.org, linux-mm@kvack.org, Alexey Makhalov , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , Ingo Molnar , Darren Hart , linux-trace-kernel@vger.kernel.org, Arnd Bergmann , linux-pm@vger.kernel.org, Steven Rostedt , Borislav Petkov , Andy Lutomirski , xen-devel@lists.xenproject.org, Boris Ostrovsky , platform-driver-x86@vger.kernel.org, Juergen Gross , linux-kernel@vger.kernel.org, Masami Hiramatsu , Andy Shevchenko X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On 5/16/23 12:35, Arnd Bergmann wrote: > The ones that are a bit awkward are those that just add a prototype to > shut up the warning, but the prototypes are never used for calling the > function because the only caller is in assembler code. I tried to come up > with other ways to shut up the compiler using the asmlinkage annotation, > but with no success. I went looking for the same thing. It's too bad gcc doesn't have an __attribute__ for it. _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization