Commit 18366b05a00349c1606269ba7422bf9b3a357ff2

Authored by Philipp Reisner
Committed by David S. Miller
1 parent 7069331dbe

connector/dm: Fixed a compilation warning

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Acked-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

drivers/md/dm-log-userspace-transfer.c
... ... @@ -129,9 +129,8 @@
129 129 * This is the connector callback that delivers data
130 130 * that was sent from userspace.
131 131 */
132   -static void cn_ulog_callback(void *data, struct netlink_skb_parms *nsp)
  132 +static void cn_ulog_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
133 133 {
134   - struct cn_msg *msg = (struct cn_msg *)data;
135 134 struct dm_ulog_request *tfr = (struct dm_ulog_request *)(msg + 1);
136 135  
137 136 spin_lock(&receiving_list_lock);