On Wed, Dec 14, 2011 at 11:15:49AM +0100, Lars-Peter Clausen wrote: > Marking the function as __must_check doesn't make much sense here. Since it > will either return an error or the buffer length. So you'll always use the > returned result one way or the other. Isn't that the point of a __must_check? This reminds me of when we added __must_check to ERR_PTR() and PTR_ERR(). We found places that didn't check. regards, dan carpenter
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel