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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/601606/
1 parent fa17fbb commit ad7f529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)