aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-06-23 15:50:07 +0800
committerGrant Likely <grant.likely@linaro.org>2013-07-22 19:40:38 +0100
commitc0cdfaa0a5e7a346ac2f661f63f543cdc5f7cbbe (patch)
treea50fe3d27f2bcb9aa00e2c2b6e6c428e1c86618c /tools/perf/scripts/python/export-to-postgresql.py
parentof: add vendor prefixes for hisilicon (diff)
downloadlinux-dev-c0cdfaa0a5e7a346ac2f661f63f543cdc5f7cbbe.tar.xz
linux-dev-c0cdfaa0a5e7a346ac2f661f63f543cdc5f7cbbe.zip
of/irq: Avoid calling list_first_entry() for empty list
list_first_entry() expects the list is not empty, we need to check if list is empty before calling list_first_entry(). Thus use list_first_entry_or_null() instead of list_first_entry(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions