Re: [PATCH v4 21/22] mm/zsmalloc: fix build warning from lkp testing
From: Alex Shi
Date: Mon Aug 05 2024 - 04:39:08 EST
On 8/3/24 3:13 AM, Vishal Moola wrote:
> On Mon, Jul 29, 2024 at 07:25:33PM +0800, alexs@xxxxxxxxxx wrote:
>> From: Alex Shi <alexs@xxxxxxxxxx>
>>
>> LKP reported the following warning w/o CONFIG_DEBUG_VM:
>> mm/zsmalloc.c:471:12: warning: function 'is_first_zpdesc' is not
>> needed and will not be emitted [-Wunneeded-internal-declaration]
>> To remove this warning, better to incline the function is_first_zpdesc
>
> In future iterations of the series, just fold this into the patch its
> fixing. It makes reviewing easier.
>
Yes, thanks for comments!