aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-01-09 11:48:11 -0800
committerMario Limonciello <mario.limonciello@amd.com>2025-01-09 13:53:22 -0600
commit0c2768bf818904db705ff18674f771c3c4d8bbca (patch)
tree5feea7fc7e60525d5ba884c95ae574d91a08e2fc /tools/perf/scripts/python
parentdrm/nouveau: fix kernel-doc comments (diff)
downloadlinux-0c2768bf818904db705ff18674f771c3c4d8bbca.tar.gz
linux-0c2768bf818904db705ff18674f771c3c4d8bbca.zip
accel/amdxdna: Return error when setting clock failed for npu1
Due to miss returning error when setting clock, the smatch static checker reports warning: drivers/accel/amdxdna/aie2_smu.c:68 npu1_set_dpm() error: uninitialized symbol 'freq'. Fixes: f4d7b8a6bc8c ("accel/amdxdna: Enhance power management settings") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/dri-devel/202267d0-882e-4593-b58d-be9274592f9b@stanley.mountain/ Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250109194811.499505-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions