summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-01-18 21:18:37 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-01-25 04:51:11 +0300
commita45526bb78529911eb6b2525347762e977fce125 (patch)
treeed0af902e9ca6d867d76449df994fc2e33ac3e85 /tools/perf/scripts/python/export-to-postgresql.py
parentfcf4aec13b56edcfc837fa138d8b1d99b26e5ce4 (diff)
downloadlinux-a45526bb78529911eb6b2525347762e977fce125.tar.xz
MIPS: MT: Move an assignment for the variable "retval" in mipsmt_sys_sched_setaffinity()
A local variable was set to an error code in one case before a concrete error situation was detected. Thus move the corresponding assignment into an if branch to indicate a software failure there. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: linux-mips@linux-mips.org Cc: LKML <linux-kernel@vger.kernel.org> Cc: kernel-janitors@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/15072/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions