Re: [dm-devel] 2.6.5-rc1-udm1: Patch 2/3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 16 March 2004 8:38 am, Joe Thornber wrote:
> http://people.sistina.com/~thornber/dm/patches/2.6-unstable/2.6.5-rc1/2.6.5
>-rc1-udm1.tar.bz2
>
> I think there were some issues with 2.6.4-mm1, the -udm patches haven't
> changed.

Eliminate another compiler warning on ppc64:

  CC      drivers/md/dm-io.o
drivers/md/dm-io.c: In function `vm_dp_init':
drivers/md/dm-io.c:441: warning: cast from pointer to integer of different size

--- diff/drivers/md/dm-io.c	2004-03-16 09:45:45.000000000 -0600
+++ source/drivers/md/dm-io.c	2004-03-16 09:45:33.000000000 -0600
@@ -438,7 +438,7 @@
 {
 	dp->get_page = vm_get_page;
 	dp->next_page = vm_next_page;
-	dp->context_u = ((unsigned) data) & (PAGE_SIZE - 1);
+	dp->context_u = ((unsigned long) data) & (PAGE_SIZE - 1);
 	dp->context_ptr = data;
 }
 

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux