The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/vmw_vmci: Show correct get_user_pages_fast upon err
Date: Tue, 17 Feb 2015 14:02:46 -0800	[thread overview]
Message-ID: <20150217220246.GA25711@kroah.com> (raw)
In-Reply-To: <1424210254.2046.105.camel@stgolabs.net>

On Tue, Feb 17, 2015 at 01:57:34PM -0800, Davidlohr Bueso wrote:
> As of 240ddd495a9 (vmw_vmci: Convert driver to use get_user_pages_fast())
> we no longer call get_user_pages(), thus update the warning.
> 
> Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
> ---
>  drivers/misc/vmw_vmci/vmci_queue_pair.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/misc/vmw_vmci/vmci_queue_pair.c b/drivers/misc/vmw_vmci/vmci_queue_pair.c
> index 35f19a6..1d80c56 100644
> --- a/drivers/misc/vmw_vmci/vmci_queue_pair.c
> +++ b/drivers/misc/vmw_vmci/vmci_queue_pair.c
> @@ -737,7 +737,8 @@ static int qp_host_get_user_memory(u64 produce_uva,
>  				     produce_q->kernel_if->num_pages, 1,
>  				     produce_q->kernel_if->u.h.header_page);
>  	if (retval < produce_q->kernel_if->num_pages) {
> -		pr_warn("get_user_pages(produce) failed (retval=%d)", retval);
> +		pr_warn("get_user_pages_fast(produce) failed (retval=%d)",
> +			retval);

What can a user do with this message?  Shouldn't it be a debug message?

thanks,

greg k-h

  reply	other threads:[~2015-02-17 22:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-17 21:57 [PATCH] drivers/vmw_vmci: Show correct get_user_pages_fast upon err Davidlohr Bueso
2015-02-17 22:02 ` Greg Kroah-Hartman [this message]
2015-02-17 22:09   ` Davidlohr Bueso
2015-02-17 22:20     ` Greg Kroah-Hartman
2015-02-17 22:29       ` [PATCH v2] drivers/vmw_vmci: Show correct get_user_pages_fast upon failure Davidlohr Bueso

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=20150217220246.GA25711@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=dave@stgolabs.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox