From: Pete Zaitcev <zaitcev@redhat.com>
To: schwidefsky@de.ibm.com
Cc: Pete Zaitcev <zaitcev@redhat.com>, linux-kernel@vger.kernel.org
Subject: 2.4.19-pre3 s390 patch for warnings
Date: Fri, 15 Mar 2002 13:33:46 -0500 [thread overview]
Message-ID: <20020315133346.D24597@devserv.devel.redhat.com> (raw)
Dunno about others, but I do pay attention to warnings.
Please consider.
Thanks,
-- Pete
diff -ur -X dontdiff linux-2.4.19-pre3/arch/s390/kernel/setup.c linux-2.4.19-pre3-390/arch/s390/kernel/setup.c
--- linux-2.4.19-pre3/arch/s390/kernel/setup.c Tue Mar 12 10:53:36 2002
+++ linux-2.4.19-pre3-390/arch/s390/kernel/setup.c Fri Mar 15 09:12:47 2002
@@ -486,7 +486,7 @@
static int show_cpuinfo(struct seq_file *m, void *v)
{
struct cpuinfo_S390 *cpuinfo;
- unsigned long n = (unsigned long) v - 1;
+ int n = (int) v - 1;
if (!n) {
seq_printf(m, "vendor_id : IBM/S390\n"
diff -ur -X dontdiff linux-2.4.19-pre3/drivers/s390/block/dasd_diag.c linux-2.4.19-pre3-390/drivers/s390/block/dasd_diag.c
--- linux-2.4.19-pre3/drivers/s390/block/dasd_diag.c Sun Sep 30 12:26:07 2001
+++ linux-2.4.19-pre3-390/drivers/s390/block/dasd_diag.c Fri Mar 15 08:39:17 2002
@@ -427,7 +427,7 @@
}
if (req->cmd == READ) {
rw_cmd = MDSK_READ_REQ;
- } else if (req->cmd == WRITE) {
+ } else {
rw_cmd = MDSK_WRITE_REQ;
}
bhct = 0;
reply other threads:[~2002-03-15 18:34 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=20020315133346.D24597@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@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