Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15352709rwb; Mon, 28 Nov 2022 10:32:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf65aFHHDkkqmg44ZO9ILQDffnb8BYhOduLE7VkyoKrt7RukfPVG+pdfys0Gkh/FnIgbAhcS X-Received: by 2002:a17:906:3bce:b0:7aa:6998:ad72 with SMTP id v14-20020a1709063bce00b007aa6998ad72mr45704471ejf.763.1669660331241; Mon, 28 Nov 2022 10:32:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669660331; cv=none; d=google.com; s=arc-20160816; b=NNuxIARubdat5dfiLfqklbYEPWmWH+HbWwXcilaLF8rAUOwQX3K1aAgOoNxOfXUmw5 g6WZUSBiJf7YIqV3CP1yvatSlbqIf9ROiQ0sjcBD7irF8KJlMOKL1yp8vYMj5p3vZvCq bAZdJqjlzJPpvNNQDGRv1WHyd4+15d1horkOCqurHpObvT5foaRY89jDOdurjHe1VTUd j7tislSDYqhUTecJeFYwAn0yLrD2hACAUN8EZDqA66CCvT/mLs82Xk6xuPFkJQajmfFB MB6Gp9qPjLqvD2ZSCt+ooHFPGncHOkipxnLXQ5pqIf8rAJ/+Bj2u6iVx+F8EdlwGPv0A fCIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=MHC2BUkK7ek4i7BqbBWuRzn6QSYuChSN+Ssg5ccVPfg=; b=bvJHoqC105kE0J2dQeVKg3AQiTo5RiSvyywoQOlOrv3MTsyZTDcLcBNlMkcGkty2gx byYRw3ZUJgt7isOqkhztgGJbOLkMTK6tb4JvM8udH53m1XlZ5fBgnoCWz8S9NkmU3BSd m3q+YtMg/8Hf2JIdl/AUhCQ1YsFRhxHC63LILy/BWHkJVHCAlOtjG3FqDMyY/246yaS3 lM26Ve/b5DI8i2ef31f8EBOSrwbPrDJ3CFanf6gs6bdIyU09tt0Wx0IShdvayZkK+23X GVNyQxnPxcQRYqF0j0BztUFcdtw57+WqXDGL5ChPYzrjDmREun/PZ6iRoOaklML5iS4M GR8Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a056402138f00b00468d58b2535si9280089edv.445.2022.11.28.10.31.46; Mon, 28 Nov 2022 10:32:11 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233786AbiK1R4r (ORCPT + 85 others); Mon, 28 Nov 2022 12:56:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234069AbiK1R43 (ORCPT ); Mon, 28 Nov 2022 12:56:29 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E36331DFF for ; Mon, 28 Nov 2022 09:45:31 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 50298B80E85 for ; Mon, 28 Nov 2022 17:45:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73CD8C433D6; Mon, 28 Nov 2022 17:45:18 +0000 (UTC) Date: Mon, 28 Nov 2022 12:45:13 -0500 From: Steven Rostedt To: Vincent MAILHOL Cc: kirill.shutemov@linux.intel.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, jpoimboe@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, pbonzini@redhat.com, sathyanarayanan.kuppuswamy@linux.intel.com, seanjc@google.com, tglx@linutronix.de, viro@zeniv.linux.org.uk, x86@kernel.org Subject: Re: [PATCH] x86/asm: Remove unused COMPILE_OFFSETS macro from asm-offsets.c Message-ID: <20221128124513.76392c3d@gandalf.local.home> In-Reply-To: References: <20221128091506.gp4l6klznqhigjxv@box.shutemov.name> <20221128101117.3614401-1-mailhol.vincent@wanadoo.fr> <20221128111112.dzavip4eqqgpyrai@box.shutemov.name> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Mon, 28 Nov 2022 20:30:35 +0900 Vincent MAILHOL wrote: > > If you are sure is never included from asm-offsets.c, > > remove #ifndef COMPILE_OFFSETS too. > > It is never included from asm-offsets.c but it is still used by > kvm-asm-offsets.c: > https://elixir.bootlin.com/linux/v6.1-rc7/source/arch/x86/kvm/kvm-asm-offsets.c#L7 IIRC, the reason for adding that was because that logic was screwing up asm-offsets.c. I'm not sure it screws up kvm-asm-offsets.c though. This is one of those cases I wish I commented that code better :-/ -- Steve