Fix 64bit warning for firestream
Subsystems (3)
PATCH 1/1 Fix 64bit warning for firestream
Fix obvious 64bit issue in firestream driver. I haven't tested if it actually works on 64bit due to lack of hardware.
-Andi
drivers/atm/firestream.c renamed from drivers/atm/firestream.c-o +1 -1
@@ -1380,7 +1380,7 @@if (alignment <=0x10 ) { t =kmalloc (size, flags); -if ((unsigned int )t & (alignment-1 )) { +if ((unsigned long )t & (alignment-1 )) {printk ("Kmalloc doesn't align things correctly! %p\n" , t);kfree (t);return aligned_kmalloc (size, flags, alignment *4 );