public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux-2.6.13 : __check_region is deprecated
@ 2005-08-29 23:14 Stephane Wirtel
  2005-08-29 23:21 ` Randy.Dunlap
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Stephane Wirtel @ 2005-08-29 23:14 UTC (permalink / raw)
  To: linux-kernel

Hi, 

By compiling my kernel, I can see that the __check_region function (in
kernel/resource.c) is deprecated.

With a grep on the source code of the last release, I get this result.

drivers/pnp/resource.c:255:             if (__check_region(&ioport_resource, *port, length(port,end))) 
include/linux/ioport.h:117:#define check_mem_region(start,n) __check_region(&iomem_resource, (start), (n))
include/linux/ioport.h:120:extern int __check_region(struct resource *, unsigned long, unsigned long);
include/linux/ioport.h:125:     return __check_region(&ioport_resource, s, n);
kernel/resource.c:468:int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
kernel/resource.c:481:EXPORT_SYMBOL(__check_region);

Is there a function to replace this deprecated function ?

Why is it deprecated ?

Best Regards, 

Stephane

-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



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

end of thread, other threads:[~2005-08-30 15:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 23:14 Linux-2.6.13 : __check_region is deprecated Stephane Wirtel
2005-08-29 23:21 ` Randy.Dunlap
2005-08-29 23:25 ` Jesper Juhl
2005-08-29 23:28 ` Diego Calleja
2005-08-29 23:34   ` Jesper Juhl
2005-08-29 23:55     ` Diego Calleja
2005-08-29 23:59       ` Jesper Juhl
2005-08-30 14:28       ` David Hollis
2005-08-30 14:50         ` Adrian Bunk
2005-08-30 15:09         ` Randy.Dunlap
2005-08-30  6:10 ` Stephane Wirtel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox