- xfs printk warning fix (dev_t is ulong on ppc64)
- unused var in serial_remove() (Daniele Bellucci <bellucda@tiscali.it>)
static void serial_remove(dev_link_t *link)
{
struct serial_info *info = link->priv;
- int i, ret;
+ int i;
link->state &= ~DEV_PRESENT;
if (set_blocksize(btp->pbr_bdev, sectorsize)) {
printk(KERN_WARNING
- "XFS: Cannot set_blocksize to %u on device 0x%x\n",
- sectorsize, btp->pbr_dev);
+ "XFS: Cannot set_blocksize to %u on device 0x%lx\n",
+ sectorsize, (unsigned long)btp->pbr_dev);
}
}