} else {
r = ROUND_UP;
}
- error = make_rate (pcr, r, &tmc0, 0);
+ error = make_rate (pcr, r, &tmc0, NULL);
}
fs_dprintk (FS_DEBUG_OPEN, "pcr = %d.\n", pcr);
}
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);