Subject: linux-next: build warning after merge of the vfs tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 3 Jul 2017 10:53:47 +1000

Hi Al,

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")

-- 
Cheers,
Stephen Rothwell