diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-07-17 15:48:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-17 16:21:30 -0700 |
commit | a6b202979661eb32646048aeaad7be7b70c2cd22 (patch) | |
tree | 9de79d3813dca8f78f9ccdb8c800988ab0326056 /arch/m32r/boot | |
parent | f9717f3110c8d05ad65b9a91b698cc0612fd77af (diff) | |
download | op-kernel-dev-a6b202979661eb32646048aeaad7be7b70c2cd22.zip op-kernel-dev-a6b202979661eb32646048aeaad7be7b70c2cd22.tar.gz |
m32r: fix 'fix breakage from "m32r: use generic ptrace_resume code"' fallout
Commit acdc0d5ef9dd ('m32r: fix breakage from "m32r: use generic
ptrace_resume code"') tried to fix a problem in commit e34112e3966fc
("m32r: use generic ptrace_resume code") by returning values in a
function returning void, causing:
arch/m32r/kernel/ptrace.c: In function 'user_enable_single_step':
arch/m32r/kernel/ptrace.c:594:3: warning: 'return' with a value, in function returning void [enabled by default]
arch/m32r/kernel/ptrace.c:598:3: warning: 'return' with a value, in function returning void [enabled by default]
arch/m32r/kernel/ptrace.c:601:3: warning: 'return' with a value, in function returning void [enabled by default]
arch/m32r/kernel/ptrace.c:604:2: warning: 'return' with a value, in function returning void [enabled by default]
Remove the unneeded return values.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r/boot')
0 files changed, 0 insertions, 0 deletions