diff options
| author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-19 16:07:28 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-11 20:15:32 +0400 |
| commit | eb1bd49c50880df667905b4cfb472064f62c05d1 (patch) | |
| tree | bbac4621c3d1c03046feefb0ab065ef6404e63dc /tools/perf/scripts/python/bin | |
| parent | c37aeab62514cd623afa1b952ca86d53dd21a745 (diff) | |
| download | linux-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/bin')
0 files changed, 0 insertions, 0 deletions
