public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephane Wirtel <stephane.wirtel@belgacom.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.6.13 - 1/3 - Remove the deprecated function __check_region
Date: Tue, 30 Aug 2005 19:05:02 +0200	[thread overview]
Message-ID: <20050830170502.GA10694@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

Hi all, 

Here is the first patch for kernel 2.6.13 from Linus tree.



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



[-- Attachment #2: patch_remove_deprecated_check_region.diff --]
[-- Type: text/plain, Size: 619 bytes --]

diff --git a/kernel/resource.c b/kernel/resource.c
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -465,21 +465,6 @@ struct resource * __request_region(struc
 
 EXPORT_SYMBOL(__request_region);
 
-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
-{
-	struct resource * res;
-
-	res = __request_region(parent, start, n, "check-region");
-	if (!res)
-		return -EBUSY;
-
-	release_resource(res);
-	kfree(res);
-	return 0;
-}
-
-EXPORT_SYMBOL(__check_region);
-
 void __release_region(struct resource *parent, unsigned long start, unsigned long n)
 {
 	struct resource **p;

             reply	other threads:[~2005-08-30 17:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30 17:05 Stephane Wirtel [this message]
2005-08-30 17:16 ` [PATCH] 2.6.13 - 1/3 - Remove the deprecated function __check_region Stephane Wirtel
2005-08-30 17:17 ` Jesper Juhl
2005-08-30 17:21   ` Stephane Wirtel
2005-08-30 17:37     ` Jesper Juhl
2005-08-30 17:54       ` Muli Ben-Yehuda
2005-08-30 19:03         ` Muli Ben-Yehuda
2005-08-30 19:23           ` Jesper Juhl
2005-08-30 17:58       ` Jesper Juhl

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=20050830170502.GA10694@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