aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/syscall-counts-record
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2023-04-15 22:30:30 +0200
committerKarol Herbst <[email protected]>2023-04-17 19:08:03 +0200
commit5149545dbcbb15105312014201b9c0aa859c6044 (patch)
treefeb4a36b7815c8131a8f9f0173bd3449ef638592 /tools/perf/scripts/python/bin/syscall-counts-record
parent6ef481d45f8b37dc9cca11d7126bd2c99e8a0943 (diff)
drm/nouveau/bios/power_budget: Move an expression into a macro call parameter in nvbios_power_budget_header()
The address of a data structure member was determined before a corresponding null pointer check in the implementation of the function “nvbios_power_budget_header”. Thus avoid the risk for undefined behaviour by moving the usage of an expression into a parameter for a macro call in one if branch. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Signed-off-by: Karol Herbst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions