[Compile Regression in 2.4.25-pre8][PATCH 36/42]
From: Kronos (kronos_at_kronoz.cjb.net)
Date: 02/02/04
- Previous message: Kronos: "[Compile Regression in 2.4.25-pre8][PATCH 33/42]"
- In reply to: Kronos: "Re: [Compile Regression] 2.4.25-pre8: 126 warnings 0 errors"
- Next in thread: Kronos: "[Compile Regression in 2.4.25-pre8][PATCH 28/42]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 2 Feb 2004 21:03:30 +0100 To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
scsi_merge.c:104: warning: long unsigned int format, different type arg (arg 4)
page_to_phys returns a u64 if CONFIG_HIGHMEM64G is defined.
diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/scsi_merge.c linux-2.4/drivers/scsi/scsi_merge.c
--- linux-2.4-vanilla/drivers/scsi/scsi_merge.c Fri Nov 29 00:53:14 2002
+++ linux-2.4/drivers/scsi/scsi_merge.c Sat Jan 31 19:03:49 2004
@@ -98,10 +98,10 @@
printk("Flags %d %d\n", use_clustering, dma_host);
for (bh = req->bh; bh->b_reqnext != NULL; bh = bh->b_reqnext)
{
- printk("Segment 0x%p, blocks %d, addr 0x%lx\n",
+ printk("Segment 0x%p, blocks %d, addr 0x%Lx\n",
bh,
bh->b_size >> 9,
- bh_phys(bh) - 1);
+ (u64)bh_phys(bh) - 1);
}
panic("Ththththaats all folks. Too dangerous to continue.\n");
}
-- Reply-To: kronos@kronoz.cjb.net Home: http://kronoz.cjb.net No matter what you choose, you're still a luser. - 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/
- Previous message: Kronos: "[Compile Regression in 2.4.25-pre8][PATCH 33/42]"
- In reply to: Kronos: "Re: [Compile Regression] 2.4.25-pre8: 126 warnings 0 errors"
- Next in thread: Kronos: "[Compile Regression in 2.4.25-pre8][PATCH 28/42]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|