Skip to contentSkip to conversation

request_region

KJ Richard 2 participants 2 messages Jul 7, 2006 Kernel janitors

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · Richard

Some files scan a IO range for request_region and that same range is released when the module unloads. Is it necessary to check those functions on return values?

Yes. request_region() can fail, and if it does the code needs to deal with the error in a sane way.

Signature · 7 lines
Jesper Juhl <[email protected]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors