Skip to content

Commit ad7f529

Browse files
committed
drm/msm/a6xx: Add missing __always_unused
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/
1 parent fa17fbb commit ad7f529

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ static const struct adreno_info a7xx_gpus[] = {
12491249
};
12501250
DECLARE_ADRENO_GPULIST(a7xx);
12511251

1252-
static inline void __build_asserts(void)
1252+
static inline __always_unused void __build_asserts(void)
12531253
{
12541254
BUILD_BUG_ON(a630_protect.count > a630_protect.count_max);
12551255
BUILD_BUG_ON(a650_protect.count > a650_protect.count_max);

0 commit comments

Comments
 (0)