Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322465
b: refs/heads/master
c: ed6fe9d
h: refs/heads/master
i:
  322463: f202676
v: v3
  • Loading branch information
Mikulas Patocka authored and Linus Torvalds committed Sep 6, 2012
1 parent 57dbd7d commit 781294c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5b716ac728bcc01b1f2a7ed6e437196602237c27
refs/heads/master: ed6fe9d614fc1bca95eb8c0ccd0e92db00ef9d5d
4 changes: 2 additions & 2 deletions trunk/net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,7 @@ static int do_siocgstamp(struct net *net, struct socket *sock,
err = sock_do_ioctl(net, sock, cmd, (unsigned long)&ktv);
set_fs(old_fs);
if (!err)
err = compat_put_timeval(up, &ktv);
err = compat_put_timeval(&ktv, up);

return err;
}
Expand All @@ -2620,7 +2620,7 @@ static int do_siocgstampns(struct net *net, struct socket *sock,
err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts);
set_fs(old_fs);
if (!err)
err = compat_put_timespec(up, &kts);
err = compat_put_timespec(&kts, up);

return err;
}
Expand Down

0 comments on commit 781294c

Please sign in to comment.