All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Lo <kevlo@kevlo.org>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] check_/request_region fixes: sound/oss/pss.c
Date: Tue, 03 Oct 2006 04:28:40 +0000	[thread overview]
Message-ID: <1159849720.5147.8.camel@monet> (raw)

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

Hi,

Attached patch is to get rid of check_region and replace with
request_region.

	Kevin

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 437 bytes --]

--- linux-2.6.18/sound/oss/pss.c.orig	2006-10-03 11:51:18.000000000 +0800
+++ linux-2.6.18/sound/oss/pss.c	2006-10-03 12:05:54.000000000 +0800
@@ -677,7 +677,7 @@ static void configure_nonsound_component
 	{
 		printk(KERN_INFO "PSS: CDROM port not enabled.\n");
 	}
-	else if(check_region(pss_cdrom_port, 2))
+	else if(!request_region(pss_cdrom_port, 2, "PSS cdrom port"))
 	{
 		printk(KERN_ERR "PSS: CDROM I/O port conflict.\n");
 	}

[-- Attachment #3: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

             reply	other threads:[~2006-10-03  4:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03  4:28 Kevin Lo [this message]
2006-10-03  9:13 ` [KJ] [PATCH] check_/request_region fixes: sound/oss/pss.c Dan Carpenter
2006-10-04  1:33 ` Kevin Lo

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=1159849720.5147.8.camel@monet \
    --to=kevlo@kevlo.org \
    --cc=kernel-janitors@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.