diff options
author | Lizhi Hou <lizhi.hou@amd.com> | 2025-01-02 13:22:38 -0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-01-03 23:37:52 -0600 |
commit | 71486e48370e8902e0816bba8b51a22871e5e653 (patch) | |
tree | 3795d20f5982f7f4084a66f450bff89c627fae99 /tools/perf/scripts/python/netdev-times.py | |
parent | 041d61ad66ea0d88890264e96e8f81437a33a9cf (diff) |
accel/amdxdna: Declare npu device profile as static variables
Declare the variables as static to fix the sparse warnings:
symbol 'npu5_dev_priv' was not declared. Should it be static?
symbol 'npu1_dev_priv' was not declared. Should it be static?
symbol 'npu4_dev_priv' was not declared. Should it be static?
symbol 'npu2_dev_priv' was not declared. Should it be static?
Fixes: 8c9ff1b181ba ("accel/amdxdna: Add a new driver for AMD AI Engine")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412310648.dtMHgGem-lkp@intel.com/
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/20250102212244.1586340-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions