aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-log-userspace-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-log-userspace-base.c')
-rw-r--r--drivers/md/dm-log-userspace-base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-log-userspace-base.c b/drivers/md/dm-log-userspace-base.c
index 652bd33109e3..1ed0094f064b 100644
--- a/drivers/md/dm-log-userspace-base.c
+++ b/drivers/md/dm-log-userspace-base.c
@@ -5,6 +5,7 @@
5 */ 5 */
6 6
7#include <linux/bio.h> 7#include <linux/bio.h>
8#include <linux/slab.h>
8#include <linux/dm-dirty-log.h> 9#include <linux/dm-dirty-log.h>
9#include <linux/device-mapper.h> 10#include <linux/device-mapper.h>
10#include <linux/dm-log-userspace.h> 11#include <linux/dm-log-userspace.h>
@@ -156,7 +157,7 @@ static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti,
156 } 157 }
157 158
158 /* The ptr value is sufficient for local unique id */ 159 /* The ptr value is sufficient for local unique id */
159 lc->luid = (uint64_t)lc; 160 lc->luid = (unsigned long)lc;
160 161
161 lc->ti = ti; 162 lc->ti = ti;
162 163