Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311840
b: refs/heads/master
c: 688bb41
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Jul 11, 2012
1 parent 83b4785 commit 5324368
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b065b4321fa78e83bf8f5b0d79d0b5424b57998b
refs/heads/master: 688bb4158f64f3af0fe1d13e7642f8c4c402453e
2 changes: 1 addition & 1 deletion trunk/arch/xtensa/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void xtensa_elf_core_copy_regs (xtensa_gregset_t *elfregs, struct pt_regs *regs)

/* Don't leak any random bits. */

memset(elfregs, 0, sizeof (elfregs));
memset(elfregs, 0, sizeof(*elfregs));

/* Note: PS.EXCM is not set while user task is running; its
* being set in regs->ps is for exception handling convenience.
Expand Down

0 comments on commit 5324368

Please sign in to comment.