From: Stephane Wirtel <stephane.wirtel@belgacom.net>
To: Stephane Wirtel <stephane.wirtel@belgacom.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux-2.6.13 : __check_region is deprecated
Date: Tue, 30 Aug 2005 08:10:03 +0200 [thread overview]
Message-ID: <20050830061003.GA18507@localhost.localdomain> (raw)
In-Reply-To: <20050829231417.GB2736@localhost.localdomain>
Le Tuesday 30 August 2005 a 01:08, Stephane Wirtel ecrivait:
> 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);
This morning, I worked on a patch to remove this deprecated function,
there are three patchs,
patch for kernel/resource.c
patch for include/linux/ioport.h
patch for drivers/pnp/resource.c
I go to my job, but after, I will check my patches.
Best Regards,
Stephane
--
Stephane Wirtel <stephane.wirtel@belgacom.net>
<stephane.wirtel@gmail.com>
prev parent reply other threads:[~2005-08-30 6:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=20050830061003.GA18507@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox