mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ameer Armaly <ameer@bellsouth.net>
To: linux-kernel@vger.kernel.org, perex@suse.cz
Cc: trivial@rustcorp.com.au
Subject: [patch] remove call to check_region in drivers/pnp/resource.c
Date: Fri, 19 Aug 2005 23:46:59 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.61.0508192336050.575@debian> (raw)

This patch removes a call to check_region in drivers/pnp/resource.c, and 
replaces it with request_region.
signed-off-by: Ameer Armaly <ameerarmaly@bellsouth.net>
--- drivers/pnp/resource.c	2005-08-05 03:04:37.000000000 -0400
+++ drivers/pnp/resource.new	2005-08-18 20:46:34.000000000 -0400
@@ -252,7 +252,7 @@ int pnp_check_port(struct pnp_dev * dev,
  	/* check if the resource is already in use, skip if the
  	 * device is active because it itself may be in use */
  	if(!dev->active) {
-		if (__check_region(&ioport_resource, *port, length(port,end)))
+		if (request_region(&ioport_resource, *port, length(port,end)))
  			return 0;
  	}


             reply	other threads:[~2005-08-20  3:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-20  3:46 Ameer Armaly [this message]
2005-08-20  4:05 ` Al Viro

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=Pine.LNX.4.61.0508192336050.575@debian \
    --to=ameer@bellsouth.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    --cc=trivial@rustcorp.com.au \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®