lkml.org 
[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.4.19-pre3 s390 patch for warnings
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.069 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site