Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1642953rwd; Thu, 18 May 2023 15:15:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ48dE8Gn64rtNw8FmoSWrbhoPwfQuxtCrMOh3SL9Lx/oEf60CKhPrmYsU4xJd80PeTLpC/d X-Received: by 2002:a05:6a21:9996:b0:109:2f11:8b77 with SMTP id ve22-20020a056a21999600b001092f118b77mr1776412pzb.1.1684448151405; Thu, 18 May 2023 15:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684448151; cv=none; d=google.com; s=arc-20160816; b=gulTNlHzwQY1914a174W/1hqBodg2Khi49mhsAgek5B1LXaW/3cq5GbxT9XIhYuqnt 4c3BUjRwXTpHr1pQqcSu4vp8hnRj1MD4vEQ+WQPY7vgBURxnHPxQ46WF4lr/nbHQxku4 /mkG7BVf+mvt6eckDOQ6qJ3+UKCRkzTMbfJ+0B3jFD0iyreIxnSYVh4nt5FkF41ZobGo ggf3V1Pxde7T601eNauXdgVw/CY/krzKQJgCfMbFEx5npB4axtEANA9gsLIVpUMtxsDh TwJ5MiHzuJrhEaSiox9PuCuvfnhIEvyVzj/7anBs2oPhJrHw8a3xtKSSnD4DVsIi7dMa ubtg== 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=Ye7PIXEBcWsisBfOW0yPHFMXCs0UZBa5FPVuMkC6s6s=; b=enhKiIXQ7B5a326CWlqNs/cRAO2bC1R2xod8+L+Wko5tE+Z/yXaGpjY7Mh3h7iGMH+ 4FgtgrJvs3zZUh29XRcGl68kPnqiQbA22D5u91iTN+OXhieldCL5R3Qu6FuZwRBSHQlE zfub46GldcTbolDNZvCXEW7MarFaPO5ZrwFMv9ztwGNlY9Kptwd1FZBKq+rnedMG5Hom Qoo8mrqrWrj2QGlQgF1ZqcJTO1CX8sm8uqqolplwdMkzVwg0n62a30mXhzR/g1q5wayd jKTV4H9RMIFQFZRgXxn0ayi5G3IEyNpXVnNm5w4oQD4gGjdufVUeBdLFLcZK3DlQcoHa IqbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ilTUs+At; 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 j184-20020a636ec1000000b0051ae6c4084dsi2357156pgc.512.2023.05.18.15.15.36; Thu, 18 May 2023 15:15:51 -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=ilTUs+At; 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 S230298AbjERV44 (ORCPT + 99 others); Thu, 18 May 2023 17:56:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjERV4z (ORCPT ); Thu, 18 May 2023 17:56:55 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C7FFE7; Thu, 18 May 2023 14:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684447014; x=1715983014; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=TfncyPoLkgEVKt4cWoEjhnDcsRhR4hVCsiDKfdnguT0=; b=ilTUs+AtIeT5pna9Vt4ARWCoTY3z1q30bi1ndDsBKZNtZhDoy8KIdvnX PeTUtmSWu0tijJHhU3XmszAlr9H3oAr1NsYl5ShbcGolL6mQdtXR7yoIl V3B6IoRGw5FjLcsbMqPc/WSPdXRQZF0ba3QYkfwGrcStlGdSYAzGBzaaU 3atKU/JCvdWNPg7Di6oxaZ1Li743mjYZnGk7V+69cUEiuPBpd4OE1/6iY AbCD+nGgvODVpmWNrL1GNADv7+32VRhJKK28YRWq8slCwW3Zc8ANSyRL5 O2ZSpBEPSXqWdQMk1fwFSk6ltOo4ihP63pRM6M/UonYIgnoOjoheTJsUQ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="354550228" X-IronPort-AV: E=Sophos;i="6.00,175,1681196400"; d="scan'208";a="354550228" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 14:56:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="948852100" X-IronPort-AV: E=Sophos;i="6.00,175,1681196400"; d="scan'208";a="948852100" Received: from nroy-mobl1.amr.corp.intel.com (HELO [10.209.81.123]) ([10.209.81.123]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 14:56:52 -0700 Message-ID: Date: Thu, 18 May 2023 14:56:52 -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: > From: Arnd Bergmann > > This addresses all x86 specific prototype warnings. The majority of the > patches should be straightforward, either adding an #include statement > to get the right header, or ensuring that an unused global function is > left out of the build when the prototype is hidden. > > 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. > > All of the warnings have to be addressed in some form before the warning > can be enabled by default. I picked up the ones that were blatantly obvious, but left out 03, 04, 10, 12 and 19 for the moment. BTW, I think the i386 allyesconfig is getting pretty lightly tested these days. I think you and I hit the same mlx4 __bad_copy_from() compile issue.