drivers/md/dm-log-userspace-base.c: fix warning
PATCH 3/3 drivers/md/dm-log-userspace-base.c: fix warning
From: Andrew Morton <[email protected]>
mips:
drivers/md/dm-log-userspace-base.c: In function `userspace_ctr':drivers/md/dm-log-userspace-base.c:159: warning: cast from pointer to integer of different size
Cc Neil Brown <[email protected]>
Cc Jonathan Brassow <[email protected]>
Cc Alasdair G Kergon <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/md/dm-log-userspace-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm-log-userspace-base.c renamed from drivers/md/dm-log-userspace-base.c~drivers-md-dm-log-userspace-basec-fix-warning +1 -1
@@ -156,7 +156,7 @@ static int userspace_ctr(struct dm_dirty }/* The ptr value is sufficient for local unique id */ - lc->luid = (uint64_t )lc; + lc->luid = (unsigned long )lc; lc->ti = ti;
_