diff options
author | 2020-02-21 23:11:43 +0000 | |
---|---|---|
committer | 2020-02-21 17:17:42 -0600 | |
commit | 6a7f10c795743a7f81e89df99866d7532811c324 (patch) | |
tree | 7c5e0ad12caf854a5414811d8123d79a9cd87f30 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue (diff) | |
download | wireguard-linux-6a7f10c795743a7f81e89df99866d7532811c324.tar.xz wireguard-linux-6a7f10c795743a7f81e89df99866d7532811c324.zip |
soc: fsl: dpio: fix dereference of pointer p before null check
Pointer p is currently being dereferenced before it is null
checked on a memory allocation failure check. Fix this by
checking if p is null before dereferencing it.
Addresses-Coverity: ("Dereference before null check")
Fixes: 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions