mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ravikiran G Thirumalai <kiran@in.ibm.com>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patchset] Fix sign handling bugs in 2.5 -- 2/5; epca
Date: Thu, 12 Jun 2003 12:36:15 +0530	[thread overview]
Message-ID: <20030612070613.GC1146@llm08.in.ibm.com> (raw)
In-Reply-To: <20030612070330.GA1146@llm08.in.ibm.com>


--- linux-2.5.70/drivers/char/epca.c	Tue May 27 06:30:41 2003
+++ shb-epca-2.5.70/drivers/char/epca.c	Wed Jun 11 16:09:43 2003
@@ -3740,7 +3740,7 @@
 
 			case 5:
 				board.port = (unsigned char *)ints[index];
-				if (board.port <= 0)
+				if (ints[index] <= 0)
 				{
 					printk(KERN_ERR "<Error> - epca_setup: Invalid io port 0x%x\n", (unsigned int)board.port);
 					invalid_lilo_config = 1;
@@ -3752,7 +3752,7 @@
 
 			case 6:
 				board.membase = (unsigned char *)ints[index];
-				if (board.membase <= 0)
+				if (ints[index] <= 0)
 				{
 					printk(KERN_ERR "<Error> - epca_setup: Invalid memory base 0x%x\n",(unsigned int)board.membase);
 					invalid_lilo_config = 1;

  parent reply	other threads:[~2003-06-12  6:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-12  7:03 [patchset] Fix sign handling bugs in 2.5 Ravikiran G Thirumalai
2003-06-12  7:05 ` [patchset] Fix sign handling bugs in 2.5 -- 1/5; Decnet Ravikiran G Thirumalai
2003-06-12  7:06 ` Ravikiran G Thirumalai [this message]
2003-06-12  7:07 ` [patchset] Fix sign handling bugs in 2.5 -- 3/5; mpt fusion Ravikiran G Thirumalai
2003-06-12  7:07 ` [patchset] Fix sign handling bugs in 2.5 -- 4/5; tun Ravikiran G Thirumalai
2003-06-12  7:10 ` [patchset] Fix sign handling bugs in 2.5 -- 5/5; aacraid Ravikiran G Thirumalai

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=20030612070613.GC1146@llm08.in.ibm.com \
    --to=kiran@in.ibm.com \
    --cc=akpm@digeo.com \
    --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

all inboxes | Powered by JetHome®