Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1325531rwo; Wed, 2 Aug 2023 12:08:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlHRslVqx9v9mSJPE9yXc2wNEDeNDXhwENKREs7k5rE9U3rddA52wO/lOqbVEeB/QMqumV47 X-Received: by 2002:a17:902:da83:b0:1bb:4861:d3a7 with SMTP id j3-20020a170902da8300b001bb4861d3a7mr16036740plx.16.1691003301411; Wed, 02 Aug 2023 12:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691003301; cv=none; d=google.com; s=arc-20160816; b=TVxP+sgiJIFJ1XSsVsMDE2XRNToSMgrVfEySnieE623SVjRka2m5EK5DlZZQ2RpPso iIXvXVrWPn6iyeH0vNy/2Ci9YS4kbQsRP7lN/bVk3l/Vg7ydePRzfcMLil/vJ+7HI6XH 7gGIAU68svdSl4DutepyzGf3KuhpEyuBDLd2Qg2RiTywDefyfMgy6ctjVQ+QqYFtYIXZ wNBNhZdQhERPRy2RMdGKpqGxR4uj+4LH4F/nET8vGcxuaHsHQiaEGtjWZ/vrjhanpXpK +WBGpvd8oU7JA5UPAzbbwdA0+yA3SBNtl2Io8l+A9fgBfUo2lWJXzcE9Oe/qyH9t/r+o 9dBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=8tJgz8TX/PxaQwaopmKdDCz6t/wM5DSDqnMNByWWbjY=; fh=uqEQVwKUz7og95vXCdiOVbRrH283+NOxFLI6S2zyY3k=; b=whM18jLC9E48FcljD+6Yn6LO28Wtb0Hpm3IQQwJ6S7MqEh36HKWZ1SYASAe3FM6siA FAY3MOHdqit9HmEFNiHofjtJoBtx6KSo3nefyjoq6xcRgRid5emHf13jdKy7uqRr7SNy +oYzUGBDI3HH/M7BV2USEyCLXLjAgC6wJqmNLtWJgyOPb+PUznSAPd864qxGjTbvGNzb HmNvyLGdu/JBT+xw6wx2wIT2G8UAc0Q9n52w5SJ8N9qnVU5CYAgZc5jfCcxD2P88niPW 8LoDjJ6ZGWHE8X0VqlcxQ6fDDRcGiCdYrIQ+iEpo5vv2wWcNT5Hj5HyGypZvwKXQKCih KO4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=StZvKVQe; dkim=pass header.i=@alien8.de header.s=alien8 header.b=VGDEfDuq; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a170903110700b001b8b2865f38si11606316plh.170.2023.08.02.12.08.08; Wed, 02 Aug 2023 12:08:21 -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=@alien8.de header.s=dkim header.b=StZvKVQe; dkim=pass header.i=@alien8.de header.s=alien8 header.b=VGDEfDuq; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230307AbjHBR0a (ORCPT + 99 others); Wed, 2 Aug 2023 13:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231549AbjHBR01 (ORCPT ); Wed, 2 Aug 2023 13:26:27 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42EABE46 for ; Wed, 2 Aug 2023 10:26:26 -0700 (PDT) Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4CF251EC00F8; Wed, 2 Aug 2023 19:26:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1690997184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=8tJgz8TX/PxaQwaopmKdDCz6t/wM5DSDqnMNByWWbjY=; b=StZvKVQeSe9Idx5yr2kSni+csZMkKzvHe7a+SWd/V9O+2TofXgqWfcqXpAdkc1EIjNucDQ yXYwQQyPRByFrmoDNBV9JlYthdczZdVGNDxT5OSNN4NOfs2KRKkKmaVT46IUPF3acqwU8v 4mt0bLupMXqZcyeFDo0sV6goGUQfnbg= X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LfCkf42t8xWT; Wed, 2 Aug 2023 17:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1690997181; bh=8tJgz8TX/PxaQwaopmKdDCz6t/wM5DSDqnMNByWWbjY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VGDEfDuqoQwWajFtZyXt8BiPST996QJLjaATons7cC5wfjR7ndvIic+GQ7QKtAbKp 9T5NCvSXWk5C2h0sReuZw9bb8NfeGk1SN+jPLWiC+N/4V3CFo1nOV8/KHKu5PsIcNW GB/tsz2gtCEtgezsYS3Jnvtp0s5yKdqQ5OntauHKNDWPj0ac1sK6d2twstqSbwRmnK zIGfeQxpV7qrMJkxhYUm7c4bB3yNNeJJJMOkDDweRYywz7xNH6Ad/FS1ISObOW4C3s 4mc4vAAWrtJUTsUGpX1myrFBjohpZp0C0zg4foZzuvCyKYM275cwLkj+7vkkeBS+Nn sVmdym9jIYCik6OtZMwCJTpKiKM2LtUQBcTI9r5RcTOvK6jYsTMTuU8zKn9f3lKXd8 o/MZKgYMngyZFfSC5cIXBV/BVLSpAzuXwC3oTE2jHs99RIfzwvgQybdQe9oKLKPk3R OYV8yUbKYUH4yxsF1H9HuCZrEaYmOA6olTXZP1cRwVkyBFe809mkGkqkMv4ChKkD4B TWEvAFSwAjfroAHFZnD1dpCDI08jHUYdVuNMgy3Xxc9Ivwnjgtujl9uTmu7eI+8Fms OyXbTCf71OmjHtPBXfkEV0anjoH0F9b5VDsRPBLFjrSi7XGeBdh3ePWjQEL0CMRH7V 7V9q5PV0D5WVDzVElVVSfJps= Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BB5AA40E0207; Wed, 2 Aug 2023 17:26:13 +0000 (UTC) Date: Wed, 2 Aug 2023 19:26:12 +0200 From: Borislav Petkov To: Arnd Bergmann Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Subject: Re: [PATCH 3/5] [RESEND] x86: qspinlock-paravirt: fix mising-prototype warnings Message-ID: <20230802172612.GFZMqRtDOGd28DNe03@fat_crate.local> References: <20230725134837.1534228-1-arnd@kernel.org> <20230725134837.1534228-4-arnd@kernel.org> <20230801192217.GHZMlbaVMBavu909lb@fat_crate.local> <21188533-a56b-484b-8cb7-053f38a4155c@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <21188533-a56b-484b-8cb7-053f38a4155c@app.fastmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Aug 01, 2023 at 10:26:36PM +0200, Arnd Bergmann wrote: > The variant below would avoid adding more #ifdefs, by moving > the declaration into asm/paravirt.h to ensure that it's > declared even if there is no caller. > > Does this look better to you? Yes, thanks. I don't mind empty stubs in the header which the compiler discards/ignores. Now lemme look at the rest. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette