]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/amdxdna: Declare aie2_max_col as static
authorLizhi Hou <lizhi.hou@amd.com>
Thu, 2 Jan 2025 21:22:40 +0000 (13:22 -0800)
committerMario Limonciello <mario.limonciello@amd.com>
Sat, 4 Jan 2025 05:38:10 +0000 (23:38 -0600)
commitc199310be29a08ad1c0b178fdace7e5a8d2d6515
treea6091011f3bceef44b9cef70ebf7e28c557a0fe8
parent3c8cfec3fcc4fe53f2bd87ec91ef31df4fa6dc0d
accel/amdxdna: Declare aie2_max_col as static

Fix the sparse warning:
  symbol 'aie2_max_col' was not declared. Should it be static?

Fixes: c88d3325ae69 ("accel/amdxdna: Add hardware resource solver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412311028.x2UtcSHm-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-3-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_pci.c