]> www.infradead.org Git - nvme.git/commitdiff
drm/msm/a6xx: Add missing __always_unused
authorRob Clark <robdclark@chromium.org>
Mon, 1 Jul 2024 21:23:29 +0000 (14:23 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 2 Jul 2024 14:05:08 +0000 (07:05 -0700)
The __build_asserts() function only exists to have a place to put
build-time asserts.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407010401.rfunrBSx-lkp@intel.com/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/601606/

drivers/gpu/drm/msm/adreno/a6xx_catalog.c

index bdafca7267a807962d772f499fe2a836b5832ecb..68ba9aed5506ea2f367ff0282a73fdd1122f2526 100644 (file)
@@ -1249,7 +1249,7 @@ static const struct adreno_info a7xx_gpus[] = {
 };
 DECLARE_ADRENO_GPULIST(a7xx);
 
-static inline void __build_asserts(void)
+static inline __always_unused void __build_asserts(void)
 {
        BUILD_BUG_ON(a630_protect.count > a630_protect.count_max);
        BUILD_BUG_ON(a650_protect.count > a650_protect.count_max);