Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216021
b: refs/heads/master
c: 27e4994
h: refs/heads/master
i:
  216019: 0ad3700
v: v3
  • Loading branch information
Joe Perches authored and Jiri Kosina committed Sep 23, 2010
1 parent e16d966 commit cedfd3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 655b5bb4a794267527a3059a22de54778a4548f3
refs/heads/master: 27e49945ac7090b818e44cb9e8ae4b94fd711e41
6 changes: 3 additions & 3 deletions trunk/drivers/s390/char/vmcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static int vmcp_release(struct inode *inode, struct file *file)
{
struct vmcp_session *session;

session = (struct vmcp_session *)file->private_data;
session = file->private_data;
file->private_data = NULL;
free_pages((unsigned long)session->response, get_order(session->bufsize));
kfree(session);
Expand Down Expand Up @@ -94,7 +94,7 @@ vmcp_write(struct file *file, const char __user *buff, size_t count,
return -EFAULT;
}
cmd[count] = '\0';
session = (struct vmcp_session *)file->private_data;
session = file->private_data;
if (mutex_lock_interruptible(&session->mutex)) {
kfree(cmd);
return -ERESTARTSYS;
Expand Down Expand Up @@ -136,7 +136,7 @@ static long vmcp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
int __user *argp;
int temp;

session = (struct vmcp_session *)file->private_data;
session = file->private_data;
if (is_compat_task())
argp = compat_ptr(arg);
else
Expand Down

0 comments on commit cedfd3e

Please sign in to comment.