projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
034a186
)
dm log: userspace fix incorrect luid cast in userspace_ctr
author
Andrew Morton
<
[email protected]
>
Fri, 16 Oct 2009 22:18:15 +0000
(23:18 +0100)
committer
Alasdair G Kergon
<
[email protected]
>
Fri, 16 Oct 2009 22:18:15 +0000
(23:18 +0100)
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:
[email protected]
Cc: Jonathan Brassow <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Alasdair G Kergon <
[email protected]
>
drivers/md/dm-log-userspace-base.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-log-userspace-base.c
b/drivers/md/dm-log-userspace-base.c
index 652bd33109e3333b97bd307514a24f7553241078..7ac2c1450d1004c4de300df3aab50fead2cfe5e0 100644
(file)
--- a/
drivers/md/dm-log-userspace-base.c
+++ b/
drivers/md/dm-log-userspace-base.c
@@
-156,7
+156,7
@@
static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti,
}
/* The ptr value is sufficient for local unique id */
- lc->luid = (u
int64_t
)lc;
+ lc->luid = (u
nsigned long
)lc;
lc->ti = ti;