All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Nicholas Krause <xerofoify@gmail.com>
Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] kernel:Make functions that have no external callers static in kvm.c
Date: Wed, 20 May 2015 10:23:24 +0200	[thread overview]
Message-ID: <555C447C.1000003@redhat.com> (raw)
In-Reply-To: <1432095850-24586-1-git-send-email-xerofoify@gmail.com>



On 20/05/2015 06:24, Nicholas Krause wrote:
> This makes the functions kvm_guest_cpu_init and  kvm_init_debugfs
> static now due to having no external callers outside their
> declarations in the file, kvm.c.
> 
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
>  arch/x86/kernel/kvm.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
> index 9435620..cc34cec 100644
> --- a/arch/x86/kernel/kvm.c
> +++ b/arch/x86/kernel/kvm.c
> @@ -331,7 +331,7 @@ static void kvm_guest_apic_eoi_write(u32 reg, u32 val)
>  	apic_write(APIC_EOI, APIC_EOI_ACK);
>  }
>  
> -void kvm_guest_cpu_init(void)
> +static void kvm_guest_cpu_init(void)
>  {
>  	if (!kvm_para_available())
>  		return;
> @@ -655,7 +655,7 @@ static inline void spin_time_accum_blocked(u64 start)
>  static struct dentry *d_spin_debug;
>  static struct dentry *d_kvm_debug;
>  
> -struct dentry *kvm_init_debugfs(void)
> +static struct dentry *kvm_init_debugfs(void)
>  {
>  	d_kvm_debug = debugfs_create_dir("kvm-guest", NULL);
>  	if (!d_kvm_debug)
> 

Applied, thanks.

Paolo

           reply	other threads:[~2015-05-20  8:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1432095850-24586-1-git-send-email-xerofoify@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555C447C.1000003@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    --cc=xerofoify@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.