Hi all,
After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig clang-17) failed like this:
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c:704:23: error: variable 'mmhub_v1_8_mmea_err_status_reg' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
Caused by commit
fa90ca94dbda ("drm/amdgpu: Add query_ras_error_status for mmhub v1_8")
It is only used as "ARRAY_SIZE(mmhub_v1_8_mmea_err_status_reg)".
Reported by the kernerci.org bot.
--
Cheers,
Stephen Rothwell
[AMD Official Use Only - General]
Please sync up to below commit for the fix.
15dc5a8630bd97a5ea85d1f7ad7c6830857da656 drm/amdgpu: remove unused definition
-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Monday, May 22, 2023 15:01
To: Alex Deucher <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Zhang, Hawking <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: linux-next: build failure after merge of the amdgpu tree
Hi all,
After merging the amdgpu tree, today's linux-next build (x86_64 allmodconfig clang-17) failed like this:
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c:704:23: error: variable 'mmhub_v1_8_mmea_err_status_reg' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
Caused by commit
fa90ca94dbda ("drm/amdgpu: Add query_ras_error_status for mmhub v1_8")
It is only used as "ARRAY_SIZE(mmhub_v1_8_mmea_err_status_reg)".
Reported by the kernerci.org bot.
--
Cheers,
Stephen Rothwell