[openib-general][PATCH][kdapl]: inc/dec module ref count
Muli Ben-Yehuda
mulix at mulix.org
Sun Jul 31 07:22:05 PDT 2005
On Thu, Jul 28, 2005 at 03:01:24PM -0400, James Lentini wrote:
> We've been using the following convention to indicate that we don't
> care about the return value:
>
> (void) try_module_get(THIS_MODULE);
This seems counter intuitive to me (the idea, not the syntax) -
try_module_get() can and will fail. If it doesn't matter that it
succeeds or fails, why call it at all?
Cheers,
Muli
--
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/
More information about the general
mailing list