✓ CI.checkpatch: success for drm/xe: Declare __xe_lrc_*_ggtt_addr with __maybe__unused
Patchwork
patchwork at emeril.freedesktop.org
Mon Feb 5 13:43:15 UTC 2024
== Series Details ==
Series: drm/xe: Declare __xe_lrc_*_ggtt_addr with __maybe__unused
URL : https://patchwork.freedesktop.org/series/129541/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 529af3bf93f212c782d3d41d92b6badc563a05a9
Author: Dawei Li <dawei.li at shingroup.cn>
Date: Sun Feb 4 14:23:24 2024 +0800
drm/xe: Declare __xe_lrc_*_ggtt_addr with __maybe__unused
Kernel test robot reports building error:
drivers/gpu/drm/xe/xe_lrc.c:544:1: error: unused function
'__xe_lrc_regs_ggtt_addr' [-Werror,-Wunused-function]
544 | DECL_MAP_ADDR_HELPERS(regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/xe/xe_lrc.c:536:19: note: expanded from macro
'DECL_MAP_ADDR_HELPERS'
536 | static inline u32 __xe_lrc_##elem##_ggtt_addr(struct xe_lrc *lrc) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:54:1: note: expanded from here
54 | __xe_lrc_regs_ggtt_addr
| ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Declare __xe_lrc_*_ggtt_addr with __maybe_unused to address it.
Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402010928.g3j2aSBL-lkp@intel.com/
Signed-off-by: Dawei Li <dawei.li at shingroup.cn>
+ /mt/dim checkpatch 89404d6657779870d0d97f80a267f75a36c6744b drm-intel
529af3bf9 drm/xe: Declare __xe_lrc_*_ggtt_addr with __maybe__unused
More information about the Intel-xe
mailing list