All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ahmed S. Darwish" <darwish.07@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] Replacing check_region with request_region
Date: Mon, 22 Jan 2007 16:00:00 +0000	[thread overview]
Message-ID: <20070122155959.GC5865@Ahmed> (raw)
In-Reply-To: <1169477126.3554.18.camel@wriver-t81fb058.linuxcoe>

On Mon, Jan 22, 2007 at 08:15:26PM +0530, Vignesh Babu BM wrote:
> Hi,
>   I found the following instances of check_region in the 2.6.20-rc5
> code.
>   I also found that these files also have request_region in some parts.
> So I was just wondering if they were left there for some reason....but
> as part of the deprecated API they have to be removed at some point of
> time right?
>   If they need to be changed then I would go ahead and make a patch.
> Thanks...

From LDD3, Chapter 9:
"Here, the return value is a negative error code if the given ports are not 
available. This function is deprecated because its return value provides no
guarantee of whether an allocation would succeed; checking and later
allocating are not an atomic operation"

I think they should ..

-- 
Ahmed S. Darwish
http://darwish-07.blogspot.com
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

  reply	other threads:[~2007-01-22 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-22 14:57 [KJ] Replacing check_region with request_region Vignesh Babu BM
2007-01-22 16:00 ` Ahmed S. Darwish [this message]
2007-01-22 16:35 ` Jesper Juhl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070122155959.GC5865@Ahmed \
    --to=darwish.07@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.