diff options
author | Lizhi Hou <lizhi.hou@amd.com> | 2025-01-02 13:22:41 -0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-01-03 23:38:13 -0600 |
commit | 1f74400529488906dd0c57a4d1520a639bfd91d8 (patch) | |
tree | bb763548e6a35dd438e611278ce88ac45bba1436 /drivers/accel/amdxdna/aie2_ctx.c | |
parent | c199310be29a08ad1c0b178fdace7e5a8d2d6515 (diff) |
accel/amdxdna: Use rcu_access_pointer for __rcu pointer
Use rcu_access_pointer for pid in struct drm_file. This fixes sparse
warning.
Fixes: be462c97b7df ("accel/amdxdna: Add hardware context")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412311210.LfeHTzLw-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-4-lizhi.hou@amd.com
Diffstat (limited to 'drivers/accel/amdxdna/aie2_ctx.c')
0 files changed, 0 insertions, 0 deletions