Skip to contentSkip to conversation

2.6.9-rc1-mm4 alpha build broken - ignoring return value of `set_fd_set'

DISCUSSION Paul Jackson 1 participant 1 message Sep 12, 2004

lore
Share & tools
lore
#0 lore raw

A recent change to include/linux/poll.h marked set_fd_set() as __must_check. Three unchecked uses of this inline remain in arch/alpha/kernel/osf_sys.c, causing the alpha build of 2.6.9-rc1-mm4, to fail with:

include/linux/poll.h: In function `osf_select':
arch/alpha/kernel/osf_sys.c:1056: warning: ignoring return value of set_fd_set', declared with attribute warn_unused_result arch/alpha/kernel/osf_sys.c:1057: warning: ignoring return value of set_fd_set', declared with attribute warn_unused_result arch/alpha/kernel/osf_sys.c:1058: warning: ignoring return value of `set_fd_set', declared with attribute warn_unused_result make[1]: *** [arch/alpha/kernel/osf_sys.o] Error 1

Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373