* [KJ] request_region
@ 2006-07-07 11:54 Richard
2006-07-07 12:33 ` Jesper Juhl
0 siblings, 1 reply; 2+ messages in thread
From: Richard @ 2006-07-07 11:54 UTC (permalink / raw)
To: kernel-janitors
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?
Richard
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [KJ] request_region
2006-07-07 11:54 [KJ] request_region Richard
@ 2006-07-07 12:33 ` Jesper Juhl
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Juhl @ 2006-07-07 12:33 UTC (permalink / raw)
To: kernel-janitors
On 07/07/06, Richard <h.vanberkum@chello.nl> wrote:
> 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.
--
Jesper Juhl <jesper.juhl@gmail.com>
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
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-07 12:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 11:54 [KJ] request_region Richard
2006-07-07 12:33 ` Jesper Juhl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.