summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-19 16:07:28 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 20:15:32 +0400
commiteb1bd49c50880df667905b4cfb472064f62c05d1 (patch)
treebbac4621c3d1c03046feefb0ab065ef6404e63dc /tools/perf/scripts/python
parentc37aeab62514cd623afa1b952ca86d53dd21a745 (diff)
downloadlinux-eb1bd49c50880df667905b4cfb472064f62c05d1.tar.xz
staging/sep: Check pointers before dereferencing (fix smatch warning)
smatch complains about two dereferenced before check issues: sep_main.c:2898 sep_free_dma_tables_and_dcb() warn: variable dereferenced before check 'dma_ctx' (see line 2885) sep_main.c:2898 sep_free_dma_tables_and_dcb() warn: variable dereferenced before check '*dma_ctx' (see line 2885) -> Move the checks to the top, but keep the semantics. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions