Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634309

Re: linux-next: build warnings

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: linux-next: build warnings
Date 2017-05-02 12:00 +0200
Message-ID <tCCL8-4Uk-9@gated-at.bofh.it> (permalink)
References <tCzax-2zn-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi all,
>
> The linux-next build (powerpc allyesconfig) produced these warnings
> (and have for a while):
>
> arch/powerpc/kvm/book3s_pr_papr.c: In function 'kvmppc_h_pr_enter':
> arch/powerpc/kvm/book3s_pr_papr.c:53:2: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
>   copy_from_user(pteg, (void __user *)pteg_addr, sizeof(pteg));
>   ^

Thanks, I had seen them, but they're KVM so I'll leave them to Paul to
fix up.

Though we are supposed to be building with -Werror, so those should be
breaking the build. I assume you have turned Werror off?

cheers

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: build warnings Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-02 08:10 +0200
  Re: linux-next: build warnings Michael Ellerman <mpe@ellerman.id.au> - 2017-05-02 12:00 +0200
    Re: linux-next: build warnings Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-02 13:20 +0200
      Re: linux-next: build warnings Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-02 13:30 +0200
      Re: linux-next: build warnings Michael Ellerman <mpe@ellerman.id.au> - 2017-05-02 14:50 +0200

csiph-web