[lkml]   [2005]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 2.6.13 - 1/3 - Remove the deprecated function __check_region
On Tuesday 30 August 2005 19:21, Stephane Wirtel wrote:
> Le Tuesday 30 August 2005 a 19:08, Jesper Juhl ecrivait:
> > On 8/30/05, Stephane Wirtel <> wrote:
> > > Hi all,
> > >
> > > Here is the first patch for kernel 2.6.13 from Linus tree.
> > >
> >
> > Take it easy. Don't kill __check_region() unless you first convert all
> > users of it.
> > And by removing __check_region() you've just broken check_region() -
> > There are still some drivers left that use check_region() and there's
> > no reason to break them.
> >
> > The right approach is to identify all users of
> > check_region()/__check_region(), then submit patches to convert them
> > to use request_region instead. *Then*, when there are no more
> > in-kernel users left, submit patches to remove the deprecated
> > functions.
> I know, I did not check with check_region, I will check all users of
> check_region and I hope to send a new patch in few days.

Here's a quick list of suspects for you :

$ find ./ -name *.[ch] | xargs -i grep -H check_region {} | awk -F: {'print $1'} | sort | uniq

And please test your patches before submitting them.

As a minimum compile test any code you change and any code impacted by your
Also boot a kernel with the changes applied to make sure nothing blows up at
And if possible (if you have the hardware), test that the drivers still work
properly. If you don't have hardware to test with then you can at least still
try loading the drivers and see if they fail in a sane manner (no hardware
detected) or if they blow up.

When submitting a patch, please always provide a description of what change
the patch makes and why it makes sense to make that change. Also tell what
level of testing the patch has seen - and remember to Cc: maintainers/authors
of the code you change in addition to sending to the list.

And patches are generally preffered inline as opposed to attachments, as
should be clear from the documents I pointed you at yesterday.

Jesper Juhl

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-30 19:39    [W:0.052 / U:2.236 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site