Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8269
b: refs/heads/master
c: 18fb944
h: refs/heads/master
i:
  8267: f55d7e4
v: v3
  • Loading branch information
viro@ZenIV.linux.org.uk authored and Linus Torvalds committed Sep 9, 2005
1 parent 6efc33f commit 19819a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: a9f6a0dd54efea2a5d57a27e6c232f9197c25154
refs/heads/master: 18fb9442576c79fc2f4bca1fd90c3aa4d1115e97
5 changes: 3 additions & 2 deletions trunk/drivers/char/ipmi/ipmi_devintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,8 @@ static long compat_ipmi_ioctl(struct file *filep, unsigned int cmd,
case COMPAT_IPMICTL_RECEIVE_MSG:
case COMPAT_IPMICTL_RECEIVE_MSG_TRUNC:
{
struct ipmi_recv *precv64, recv64;
struct ipmi_recv __user *precv64;
struct ipmi_recv recv64;

if (get_compat_ipmi_recv(&recv64, compat_ptr(arg)))
return -EFAULT;
Expand All @@ -748,7 +749,7 @@ static long compat_ipmi_ioctl(struct file *filep, unsigned int cmd,
((cmd == COMPAT_IPMICTL_RECEIVE_MSG)
? IPMICTL_RECEIVE_MSG
: IPMICTL_RECEIVE_MSG_TRUNC),
(long) precv64);
(unsigned long) precv64);
if (rc != 0)
return rc;

Expand Down

0 comments on commit 19819a1

Please sign in to comment.