mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] remove call to check_region in drivers/pnp/resource.c
@ 2005-08-20  3:46 Ameer Armaly
  2005-08-20  4:05 ` Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Ameer Armaly @ 2005-08-20  3:46 UTC (permalink / raw)
  To: linux-kernel, perex; +Cc: trivial

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;
  	}


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] remove call to check_region in drivers/pnp/resource.c
  2005-08-20  3:46 [patch] remove call to check_region in drivers/pnp/resource.c Ameer Armaly
@ 2005-08-20  4:05 ` Al Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2005-08-20  4:05 UTC (permalink / raw)
  To: Ameer Armaly; +Cc: linux-kernel, perex, trivial

On Fri, Aug 19, 2005 at 11:46:59PM -0400, Ameer Armaly wrote:
> This patch removes a call to check_region in drivers/pnp/resource.c, and 
> replaces it with request_region.

... and that replacement is correct, because...?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-20  4:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-20  3:46 [patch] remove call to check_region in drivers/pnp/resource.c Ameer Armaly
2005-08-20  4:05 ` Al Viro

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®