Skip to contentSkip to conversation

__must_check and driver model

DISCUSSION Russell King 2 participants 2 messages Feb 27, 2007

lore
Share & tools
lore
#0 lore raw

I'm still seeing lots of warnings about unchecked return codes from driver model functions.

These must have been around for at least three months, if not longer, and there seems to be very little progress towards resolving them. Maybe if no one cares about fixing the warnings, we shouldn't have the warnings at all since they're just mere noise.

Can we resolve to either fix the warnings, or remove the ineffective __must_check annotations?

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#1 lore raw

2007/2/27, Russell King <[email protected]>:

Quoted 7 lines

I'm still seeing lots of warnings about unchecked return codes from driver model functions.

These must have been around for at least three months, if not longer, and there seems to be very little progress towards resolving them. Maybe if no one cares about fixing the warnings, we shouldn't have the warnings at all since they're just mere noise.

I have patch series to shut up __must_check warning about sysfs_create_link() in drivers/base/core.c (I made before, but I forgot to send)