Commit 106a47ba authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

Staging: pohmelfs: fix type errors

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 76efa5e3
...@@ -446,9 +446,8 @@ static int pohmelfs_cn_crypto(struct cn_msg *msg) ...@@ -446,9 +446,8 @@ static int pohmelfs_cn_crypto(struct cn_msg *msg)
return err; return err;
} }
static void pohmelfs_cn_callback(void *data) static void pohmelfs_cn_callback(struct cn_msg *msg)
{ {
struct cn_msg *msg = data;
int err; int err;
switch (msg->flags) { switch (msg->flags) {
......
...@@ -412,7 +412,7 @@ static int pohmelfs_readdir(struct file *file, void *dirent, filldir_t filldir) ...@@ -412,7 +412,7 @@ static int pohmelfs_readdir(struct file *file, void *dirent, filldir_t filldir)
__func__, file->f_pos, pi->ino, n->data, n->len, __func__, file->f_pos, pi->ino, n->data, n->len,
n->ino, n->mode, mode, file->f_pos, n->hash); n->ino, n->mode, mode, file->f_pos, n->hash);
file->private_data = (void *)n->hash; file->private_data = (void *)(unsigned long)n->hash;
len = n->len; len = n->len;
err = filldir(dirent, n->data, n->len, file->f_pos, n->ino, mode); err = filldir(dirent, n->data, n->len, file->f_pos, n->ino, mode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment