lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 7 Mar 2024 09:52:19 -0600
From: Lucas De Marchi <lucas.demarchi@...el.com>
To: Dawei Li <dawei.li@...ngroup.cn>
CC: <ogabbay@...nel.org>, <thomas.hellstrom@...ux.intel.com>,
	<maarten.lankhorst@...ux.intel.com>, <mripard@...nel.org>,
	<tzimmermann@...e.de>, <airlied@...il.com>, <daniel@...ll.ch>,
	<intel-xe@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>,
	<linux-kernel@...r.kernel.org>, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] drm/xe: Declare __xe_lrc_*_ggtt_addr with __maybe__unused

On Tue, Mar 05, 2024 at 09:50:23AM +0800, Dawei Li wrote:
>Hi,
>
>On Sun, Feb 04, 2024 at 02:23:24PM +0800, Dawei Li wrote:
>> 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@...el.com>
>> Closes: https://lore.kernel.org/oe-kbuild-all/202402010928.g3j2aSBL-lkp@intel.com/
>> Signed-off-by: Dawei Li <dawei.li@...ngroup.cn>
>> ---
>>  drivers/gpu/drm/xe/xe_lrc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
>Just a gentle ping.


I tweaked the commit message a little bit and applied to drm-xe-next.
Thanks.

Lucas De Marchi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ