class_device_create_file warnings during compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

When I compile our drivers on 2.6.19, I get the following warning message.

warning: ignoring return value of ‘class_device_create_file’, declared with attribute warn_unused_result

The driver does not print any warnings on 2.6.17 and it appears that this is related to some sysfs entries.

Can anyone please tell me how to get rid of these messages?

Thanks,

Dinesh


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux