RE: [HMM v17 09/14] mm/hmm/mirror: mirror process address space on device with HMM helpers

From: Krishna Reddy
Date: Mon Mar 13 2017 - 18:11:27 EST


+/*
+ * struct hmm_mirror_ops - HMM mirror device operations callback
+ *
+ * @update: callback to update range on a device */ struct
+hmm_mirror_ops {
+ /* update() - update virtual address range of memory
+ *
+ * @mirror: pointer to struct hmm_mirror
+ * @update: update's type (turn read only, unmap, ...)
+ * @start: virtual start address of the range to update
+ * @end: virtual end address of the range to update
.......
+ */
+ void (*update)(struct hmm_mirror *mirror,
+ enum hmm_update action,
+ unsigned long start,
+ unsigned long end);
+};

minor arg documentation issue. @update should be @action.