From: Edward Falk <efalk@google.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] fix typo in cdrom.c
Date: Tue, 23 Nov 2004 14:04:56 -0800 [thread overview]
Message-ID: <41A3B408.80009@google.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 57 bytes --]
Bug in dvd_read_manufact found by inspection.
-ed falk
[-- Attachment #2: patch-cdrom --]
[-- Type: text/plain, Size: 516 bytes --]
--- linux.old/drivers/cdrom/cdrom.c 2004-09-30 16:21:41.000000000 -0700
+++ linux/drivers/cdrom/cdrom.c 2004-11-23 13:56:24.000000000 -0800
@@ -1763,7 +1763,7 @@ static int dvd_read_manufact(struct cdro
s->manufact.len = buf[0] << 8 | buf[1];
if (s->manufact.len < 0 || s->manufact.len > 2048) {
cdinfo(CD_WARNING, "Received invalid manufacture info length"
- " (%d)\n", s->bca.len);
+ " (%d)\n", s->manufact.len);
ret = -EIO;
} else {
memcpy(s->manufact.value, &buf[4], s->manufact.len);
reply other threads:[~2004-11-23 22:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=41A3B408.80009@google.com \
--to=efalk@google.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