* 2.4.19-pre3 s390 patch for warnings
@ 2002-03-15 18:33 Pete Zaitcev
0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2002-03-15 18:33 UTC (permalink / raw)
To: schwidefsky; +Cc: Pete Zaitcev, linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-15 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-15 18:33 2.4.19-pre3 s390 patch for warnings Pete Zaitcev
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.