Skip to content

Commit

Permalink
connector/dm: Fixed a compilation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Reisner <[email protected]>
Acked-by: Lars Ellenberg <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Philipp-Reisner authored and davem330 committed Oct 2, 2009
1 parent 7069331 commit 18366b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/md/dm-log-userspace-transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ static int fill_pkg(struct cn_msg *msg, struct dm_ulog_request *tfr)
* This is the connector callback that delivers data
* that was sent from userspace.
*/
static void cn_ulog_callback(void *data, struct netlink_skb_parms *nsp)
static void cn_ulog_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
{
struct cn_msg *msg = (struct cn_msg *)data;
struct dm_ulog_request *tfr = (struct dm_ulog_request *)(msg + 1);

spin_lock(&receiving_list_lock);
Expand Down

0 comments on commit 18366b0

Please sign in to comment.