From: Shi Weihua Date: Fri, 23 May 2008 20:04:59 +0000 (-0700) Subject: sys_prctl(): fix return of uninitialized value X-Git-Tag: v2.6.26-rc4~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b26655f6208fdefa9ab0adc016116324f8d4ba8;p=pandora-kernel.git sys_prctl(): fix return of uninitialized value If none of the switch cases match, the PR_SET_PDEATHSIG and PR_SET_DUMPABLE cases of the switch statement will never write to local variable `error'. Signed-off-by: Shi Weihua Cc: Andrew G. Morgan Acked-by: "Serge E. Hallyn" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed