-
- Downloads
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: 8c9ff1b1 ("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
Showing
- drivers/accel/amdxdna/npu1_regs.c 1 addition, 1 deletiondrivers/accel/amdxdna/npu1_regs.c
- drivers/accel/amdxdna/npu2_regs.c 1 addition, 1 deletiondrivers/accel/amdxdna/npu2_regs.c
- drivers/accel/amdxdna/npu4_regs.c 1 addition, 1 deletiondrivers/accel/amdxdna/npu4_regs.c
- drivers/accel/amdxdna/npu5_regs.c 1 addition, 1 deletiondrivers/accel/amdxdna/npu5_regs.c
Loading
Please register or sign in to comment