mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
dm log: userspace fix incorrect luid cast in userspace_ctr
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: stable@kernel.org Cc: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
parent
034a186d29
commit
bca915aae8
1 changed files with 1 additions and 1 deletions
|
@ -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 = (uint64_t)lc;
|
||||
lc->luid = (unsigned long)lc;
|
||||
|
||||
lc->ti = ti;
|
||||
|
||||
|
|
Loading…
Reference in a new issue