summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMarkus Elfring <Markus.Elfring@web.de>2023-04-15 21:06:06 +0200
committerKarol Herbst <kherbst@redhat.com>2023-04-17 19:08:03 +0200
commit3778724bec53a3585cde6aed8c75ae3f085c3dcb (patch)
tree0741188404694a4ab3e30e50a17723c018eb2f6c /tools/perf/scripts/python/exported-sql-viewer.py
parent4f048de28b90abefff2044f450e882576eb746e9 (diff)
drm/nouveau/debugfs: Move an expression into a function call parameter in nouveau_debugfs_pstate_set()
The address of a data structure member was determined before a corresponding null pointer check in the implementation of the function “nouveau_debugfs_pstate_set”. Thus avoid the risk for undefined behaviour by moving the usage of an expression into a parameter for a function call at the end. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Karol Herbst <kherbst@redhat.com> Signed-off-by: Karol Herbst <kherbst@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/1903e057-57d3-e12e-da37-008e23afd2e2@web.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions