Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1326148rwd; Thu, 18 May 2023 10:33:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7PASttiXntWDvorAotTMTlsJUdmOV/M3rSRGnZu2/g2gD6551Ng/wcFYLQsK1A6P+ehq9g X-Received: by 2002:a05:6a20:2453:b0:104:8045:c952 with SMTP id t19-20020a056a20245300b001048045c952mr412233pzc.23.1684431224116; Thu, 18 May 2023 10:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684431224; cv=none; d=google.com; s=arc-20160816; b=w81yngk/D2YsrqJbuyQjeP7E6Upkshl/rZOFvUIMusX1PjiKAfx3nPqagf4dOHZc5t fQ+JQJsrL4a6HUOXq1oTCFdDtb6ATsDHD+6ZC2rEeKz/t0WCpZRjwgIPEd88N4QApGSW LYafMUrD/f1YrundPH/A+qjca/Drbgiq6kF5RJZKIiSXKh45AREdJpf1pGrAbgTOvCLt KluR8WrtyZSTnQxYeb/z292LNzCKDXJSHApocudyzM9BEBZXNEiJsZoqSbe2VVCBcZb4 kxythllWvyT8pGa6ntvgzcBOxqwFrfQU9RFFgHdg67utHYj8DyZJtkcUy13uRKQLnS0c zVrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TAJftsx16HR5yoThNdzoiAHzegEjX4vypFwHnpK69lU=; b=qTzHS9nz+aVKaD1skXtYnWZbE6my8DxbLSO8+Sh5p1Ok4xyU+R+wjLLptznuX9+TuP sclqAelgFSnQeWH/qk4ozOVlHWeeWxMltcsrQfh7MGU5fOzBimK9UdpS/zfpgjadibgC 7CSdRTP/zEUoFYi0dcwo4HZ+7+PnKO+rlAXOISJJOi+QM6ds925G8CFEoohmqxGjA31o qUCYlIXPJ37r6dErQiPBCp6NkSI4SXV0nU5grrM2qer7I3X3tHGh8d8RnJMUGaDf/fPW seKEzWAXd8SLkqcVuBq9Hn0fZ4ri2t4roXd/BMvazKVm5qJHT+0W1nIKXVTPYF0hQv30 815A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n6Zm4Of+; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l131-20020a633e89000000b00533fce755adsi1909463pga.130.2023.05.18.10.33.28; Thu, 18 May 2023 10:33:44 -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=@intel.com header.s=Intel header.b=n6Zm4Of+; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229527AbjERRcE (ORCPT + 99 others); Thu, 18 May 2023 13:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjERRcC (ORCPT ); Thu, 18 May 2023 13:32:02 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3451EAA; Thu, 18 May 2023 10:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684431105; x=1715967105; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Wl8BDYVG0i7AvYNjyPawAfZhnam6nIO2zxc9kJVuY98=; b=n6Zm4Of+BldnxQc0YUu+ASMgCbzK4g4rXyxfgtVIC2vl1JBt7SeLKpZp qljjuxYfoDzKXUZrlcSJ89kfZoyqK51Ah7HKlru6SrdfmQjtom26vsrmd TOIzyxXUW7jaHbalTuvAI6vAsv8BeJS5PSivMZqADfQvEUsb6QNBnDOmn 4uvBcFukVBd5uvAFCcVq2wE0EnIoU/3dqyDjA8JjMO9joNPR4DkFr1JcF 1eauAMqrJn+WNe3WKs76V6aTST7bAOz0hcGHGnpwt5bbMUA4UWBbmbijt NHAUWy03yZZq1VYMJzqtfeiX9N23vPt6y1+9p/oqGcJzYakYCjK6DCG81 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="354475452" X-IronPort-AV: E=Sophos;i="6.00,174,1681196400"; d="scan'208";a="354475452" 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 Cc: Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Juergen Gross , "Srivatsa S. Bhat (VMware)" , Alexey Makhalov , VMware PV-Drivers Reviewers , Peter Zijlstra , Darren Hart , Andy Shevchenko , Boris Ostrovsky , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-pci@vger.kernel.org, platform-driver-x86@vger.kernel.org, xen-devel@lists.xenproject.org, linux-pm@vger.kernel.org, linux-mm@kvack.org References: <20230516193549.544673-1-arnd@kernel.org> From: Dave Hansen In-Reply-To: <20230516193549.544673-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,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 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.