Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 2 messages Jul 3, 2017 – Jul 9, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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_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,
^

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