lkml.org 
[lkml]   [2015]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/vmw_vmci: Show correct get_user_pages_fast upon err
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


\
 
 \ /
  Last update: 2015-02-17 23:21    [W:0.054 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site