diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-04-18 19:24:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-04-18 19:24:48 +0200 |
commit | 6d906f99817951e2257d577656899da02bb33105 (patch) | |
tree | 1a6ac3410cb4fd77e3417c36337cb5c7025e574c /arch | |
parent | signal: use fdget() since we don't allow O_PATH (diff) | |
parent | arm64: futex: Restore oldval initialization to work around buggy compilers (diff) | |
download | linux-6d906f99817951e2257d577656899da02bb33105.tar.xz linux-6d906f99817951e2257d577656899da02bb33105.zip |
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fix from Catalin Marinas:
"Avoid compiler uninitialised warning introduced by recent arm64 futex
fix"
* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: futex: Restore oldval initialization to work around buggy compilers
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/futex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/futex.h b/arch/arm64/include/asm/futex.h index e1d95f08f8e1..c7e1a7837706 100644 --- a/arch/arm64/include/asm/futex.h +++ b/arch/arm64/include/asm/futex.h @@ -50,7 +50,7 @@ do { \ static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *_uaddr) { - int oldval, ret, tmp; + int oldval = 0, ret, tmp; u32 __user *uaddr = __uaccess_mask_ptr(_uaddr); pagefault_disable(); |