[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ae21b203-0f31-7535-ef1b-9c5edd06fbc8@huawei.com>
Date: Mon, 31 May 2021 11:34:19 +0800
From: Bixuan Cui <cuibixuan@...wei.com>
To: Matthew Wilcox <willy@...radead.org>
CC: <akpm@...ux-foundation.org>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] mm/mmap_lock: fix warning when CONFIG_TRACING is
not defined
On 2021/5/31 10:02, Matthew Wilcox wrote:
>> Fix the warning: [-Wunused-function]
>> mm/mmap_lock.c:157:20: warning: ‘get_mm_memcg_path’ defined but not used
>> static const char *get_mm_memcg_path(struct mm_struct *mm)
>> ^~~~~~~~~~~~~~~~~
> That seems like the wrong way to fix the warning. Why not put it
> under an appropriate ifdef?
It's better than me, I will send a new patch.
Thanks
Bixuan Cui
>
Powered by blists - more mailing lists