Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362724
b: refs/heads/master
c: 3c71d03
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Apr 25, 2013
1 parent 99cb70a commit cc0f749
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 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: cf3fa17c2003dd9d1534e7da2d462132e1b70811
refs/heads/master: 3c71d03a28ce653708a9a6dadc5536bf49cbc5fc
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define PAGE_SHIFT 16
#endif
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE - 1))
#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))

#ifdef CONFIG_MIPS_HUGE_TLB_SUPPORT
#define HPAGE_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3)
Expand Down
2 changes: 2 additions & 0 deletions trunk/crypto/algif_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ static int hash_recvmsg(struct kiocb *unused, struct socket *sock,
else if (len < ds)
msg->msg_flags |= MSG_TRUNC;

msg->msg_namelen = 0;

lock_sock(sk);
if (ctx->more) {
ctx->more = 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/crypto/algif_skcipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ static int skcipher_recvmsg(struct kiocb *unused, struct socket *sock,
long copied = 0;

lock_sock(sk);
msg->msg_namelen = 0;
for (iov = msg->msg_iov, iovlen = msg->msg_iovlen; iovlen > 0;
iovlen--, iov++) {
unsigned long seglen = iov->iov_len;
Expand Down
1 change: 1 addition & 0 deletions trunk/kernel/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
config_data.h
config_data.gz
timeconst.h
hz.bc

0 comments on commit cc0f749

Please sign in to comment.