lkml.org 
[lkml]   [2000]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectrequest_module rehash
I was thinking about the cases where request_module's return
isn't checked... isn't this broken code and the calling code
should be checking < 0 and return'ing -ENODEV (or similar)?

Yes, it seems at least to a small extent rampant to request_module
and assume it works, but the more I think about it, those calls
should get fixed as they are broken code.

In this light, the macro approach is nice as the compiler warnings
help highlight these pieces of broken code so they can be fixed.

Thoughts?

James
--
Miscellaneous Engineer --- IBM Netfinity Performance Development

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:1.317 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site