Skip to content

Commit

Permalink
Staging: pohmelfs: fix type errors
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 76efa5e commit 106a47b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/pohmelfs/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,8 @@ static int pohmelfs_cn_crypto(struct cn_msg *msg)
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;

switch (msg->flags) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/pohmelfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
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;
err = filldir(dirent, n->data, n->len, file->f_pos, n->ino, mode);
Expand Down

0 comments on commit 106a47b

Please sign in to comment.