linux-next: build warning after merge of the vfs tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Al,
Quoted 13 lines · On Mon, 3 Jul 2017 10:53:47 +1000 Stephen Rothwell <[email protected]> wrote:
After merging the vfs tree, today's linux-next build (
x86_64allmodconfig) 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 attributewarn_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 attributewarn_unused_result[-Wunused-result]
copy_to_iter(&rxmsg->ibm_u.immediate.ibim_payload,
^
Quoted 3 lines
Introduced by commit
aa28de275a24("iov_iter/hardening: move object size checks to inlined part")
These are now in Linus' tree ...
Signature · 2 lines
Cheers, Stephen Rothwell