Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362726
b: refs/heads/master
c: 0fbd067
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Apr 25, 2013
1 parent 121469a commit 3b8d8f8
Show file tree
Hide file tree
Showing 6 changed files with 12 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: f0af97070acbad5d6a361f485828223a4faaa0ee
refs/heads/master: 0fbd06761f5c17cc9b20e02af60fd7ee9c895996
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
7 changes: 6 additions & 1 deletion trunk/drivers/gpio/gpio-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,12 @@ static struct platform_driver pxa_gpio_driver = {
.of_match_table = of_match_ptr(pxa_gpio_dt_ids),
},
};
module_platform_driver(pxa_gpio_driver);

static int __init pxa_gpio_init(void)
{
return platform_driver_register(&pxa_gpio_driver);
}
postcore_initcall(pxa_gpio_init);

#ifdef CONFIG_PM
static int pxa_gpio_suspend(void)
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 3b8d8f8

Please sign in to comment.