From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516AbdEBJxg (ORCPT ); Tue, 2 May 2017 05:53:36 -0400 Received: from ozlabs.org ([103.22.144.67]:50465 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420AbdEBJxb (ORCPT ); Tue, 2 May 2017 05:53:31 -0400 From: Michael Ellerman To: Stephen Rothwell , Benjamin Herrenschmidt , PowerPC , Paul Mackerras Cc: Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warnings In-Reply-To: <20170502160530.34b680b7@canb.auug.org.au> References: <20170502160530.34b680b7@canb.auug.org.au> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Tue, 02 May 2017 19:53:25 +1000 Message-ID: <878tmfega2.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Rothwell 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