public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: linux390@de.ibm.com, James Antill <jantill@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Patch for strncmp use in s390 (sclp)
Date: Wed, 28 May 2003 16:51:16 -0400	[thread overview]
Message-ID: <20030528165116.B21984@devserv.devel.redhat.com> (raw)
In-Reply-To: <20030528162019.A3492@devserv.devel.redhat.com>; from zaitcev@redhat.com on Wed, May 28, 2003 at 04:20:19PM -0400

This one is different from the one in setup.c, being an actual bug.

-- Pete

--- linux-2.4.20-1.1931.2.199.z0/drivers/s390/char/sclp_tty.c	2003-05-19 17:16:59.000000000 -0400
+++ linux-2.4.20-1.1931.2.199.z1/drivers/s390/char/sclp_tty.c	2003-05-28 12:40:01.000000000 -0400
@@ -500,7 +500,7 @@
 		memcpy(sclp_tty->flip.char_buf_ptr, buf, count);
 		if (count < 2 ||
 		    (strncmp ((const char *) buf + count - 2, "^n", 2) &&
-		     strncmp ((const char *) buf + count - 2, "\0252n", 2))) {
+		     strncmp ((const char *) buf + count - 2, "\252n", 2))) {
 			sclp_tty->flip.char_buf_ptr[count] = '\n';
 			count++;
 		} else

  parent reply	other threads:[~2003-05-28 20:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 20:20 Patch for strncmp use in s390 in 2.5 Pete Zaitcev
2003-05-28 20:34 ` Richard B. Johnson
2003-05-28 20:51 ` Pete Zaitcev [this message]
2003-05-28 21:55 ` Richard Braakman
     [not found] ` <mailman.1054159021.10246.linux-kernel2news@redhat.com>
2003-05-28 23:45   ` Pete Zaitcev

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=20030528165116.B21984@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=jantill@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux390@de.ibm.com \
    /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