[FYI] The new FC4 with new gcc 4.0 complains

Pavel Roskin proski at gnu.org
Thu Jun 16 16:49:39 EDT 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