Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752892AbdI0Mug (ORCPT ); Wed, 27 Sep 2017 08:50:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43230 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752264AbdI0Mue (ORCPT ); Wed, 27 Sep 2017 08:50:34 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 89757C058EC0 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=pbonzini@redhat.com Subject: Re: unneeded internal declaration To: Avi Ghosh , Nick Desaulniers , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , josh@joshtriplett.org Cc: avi@redhat.com, kay@vrfy.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Paolo Bonzini Message-ID: Date: Wed, 27 Sep 2017 14:50:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 27 Sep 2017 12:50:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 28 On 27/09/2017 14:39, Avi Ghosh wrote: > Can someone remove me form this thread. I don’t know why I’m on it. Because you are avi@redhat.com, which belonged to Avi Kivity before you. In any case, no one can "remove you from this thread". Everyone involved would have to remember to remove you from each and every message that is sent on this thread. It's much simpler if you use the "Ignore thread" or "Mute thread" functionality of your mail client. Paolo > On Mon, Sep 25, 2017 at 10:07 PM Nick Desaulniers > > wrote: > > today I noticed I was getting the warning: > > arch/x86/kvm/vmx.c:64:32: warning: variable 'vmx_cpu_id' is not needed > and will not be emitted [-Wunneeded-internal-declaration] > > seems like this was added in commit: e9bda3b3d0ce7 "KVM: VMX: > Auto-load on CPUs with VMX" > > seems like other call sites of the MODULE_DEVICE_TABLE typically get > added to an id_table of various driver structs.  Should that be the > case here, or would a `__unused` modifier be a way forward (if so, > please confirm, would be a good first bug for a friend)? >