Commit 114e04f2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] misc fixes

- xfs printk warning fix (dev_t is ulong on ppc64)

- unused var in serial_remove() (Daniele Bellucci <bellucda@tiscali.it>)
parent 8ffcb67a
...@@ -133,7 +133,7 @@ static dev_link_t *dev_list = NULL; ...@@ -133,7 +133,7 @@ static dev_link_t *dev_list = NULL;
static void serial_remove(dev_link_t *link) static void serial_remove(dev_link_t *link)
{ {
struct serial_info *info = link->priv; struct serial_info *info = link->priv;
int i, ret; int i;
link->state &= ~DEV_PRESENT; link->state &= ~DEV_PRESENT;
......
...@@ -265,8 +265,8 @@ xfs_setsize_buftarg( ...@@ -265,8 +265,8 @@ xfs_setsize_buftarg(
if (set_blocksize(btp->pbr_bdev, sectorsize)) { if (set_blocksize(btp->pbr_bdev, sectorsize)) {
printk(KERN_WARNING printk(KERN_WARNING
"XFS: Cannot set_blocksize to %u on device 0x%x\n", "XFS: Cannot set_blocksize to %u on device 0x%lx\n",
sectorsize, btp->pbr_dev); sectorsize, (unsigned long)btp->pbr_dev);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment