diff options
author | Lizhi Hou <lizhi.hou@amd.com> | 2025-01-02 13:22:43 -0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-01-03 23:38:19 -0600 |
commit | 3b5bcf64a65b36e91b6bead03de1df6f2705ad94 (patch) | |
tree | 6a629a0a4bfc7ae9ced43f207b9cb550fe566d8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 72e487b47d249f9226093b1c8eefba06c32803ef (diff) |
accel/amdxdna: Add __user to second parameter of aie2_query_status
The second parameter of aie2_query_status() is a userspace pointer.
Declaring it as 'char __user *' to fix sparse warning.
Fixes: 850d71f6bf4c ("accel/amdxdna: Add query functions")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412311655.YBvq2wJb-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-6-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions