From: Stephane Wirtel <stephane.wirtel@belgacom.net>
To: linux-kernel@vger.kernel.org
Subject: Linux-2.6.13 : __check_region is deprecated
Date: Tue, 30 Aug 2005 01:14:17 +0200 [thread overview]
Message-ID: <20050829231417.GB2736@localhost.localdomain> (raw)
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>
next reply other threads:[~2005-08-29 23:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 23:14 Stephane Wirtel [this message]
2005-08-29 23:21 ` Linux-2.6.13 : __check_region is deprecated 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
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=20050829231417.GB2736@localhost.localdomain \
--to=stephane.wirtel@belgacom.net \
--cc=linux-kernel@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.