From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753090AbdGIXeg (ORCPT ); Sun, 9 Jul 2017 19:34:36 -0400 Received: from ozlabs.org ([103.22.144.67]:59289 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752749AbdGIXed (ORCPT ); Sun, 9 Jul 2017 19:34:33 -0400 Date: Mon, 10 Jul 2017 09:34:30 +1000 From: Stephen Rothwell To: Al Viro Cc: Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warning after merge of the vfs tree Message-ID: <20170710093430.2bec2f96@canb.auug.org.au> In-Reply-To: <20170703105347.0ebf12a3@canb.auug.org.au> References: <20170703105347.0ebf12a3@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Al, On Mon, 3 Jul 2017 10:53:47 +1000 Stephen Rothwell wrote: > > After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function 'kiblnd_send': > drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c:1643:2: warning: ignoring return value of 'copy_from_iter', declared with attribute warn_unused_result [-Wunused-result] > copy_from_iter(&ibmsg->ibm_u.immediate.ibim_payload, IBLND_MSG_SIZE, > ^ > drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function 'kiblnd_recv': > drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c:1744:3: warning: ignoring return value of 'copy_to_iter', declared with attribute warn_unused_result [-Wunused-result] > copy_to_iter(&rxmsg->ibm_u.immediate.ibim_payload, > ^ > > Introduced by commit > > aa28de275a24 ("iov_iter/hardening: move object size checks to inlined part") These are now in Linus' tree ... -- Cheers, Stephen Rothwell