[FYI] The new FC4 with new gcc 4.0 complains

Pavel Roskin proski
Thu Jun 16 13:49:39 PDT 2005


Hello!

On Thu, 2005-06-16 at 23:13 +0300, Jar wrote:
>    CC [M]  /tmp/hostap-driver-0.3.9/driver/modules/hostap_pci.o
> /tmp/hostap-driver-0.3.9/driver/modules/hostap_pci.c: In function 
> ?prism2_pci_suspend?:
> /tmp/hostap-driver-0.3.9/driver/modules/hostap_pci.c:359: warning: 
> ignoring return value of ?pci_set_power_state?, declared with attribute 
> warn_unused_result

pci_set_power_state() is declared in the kernel.  I don't see it
declared with "warn_unused_result" attribute in the current 2.6 kernel
from Linus' git repository.  Neither is that attribute used in Linux
2.4.31.

What kernel are you using?

-- 
Regards,
Pavel Roskin





More information about the Hostap mailing list