lkml.org 
[lkml]   [2021]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -next] mm/mmap_lock: fix warning when CONFIG_TRACING is not defined
From
Date


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

>

\
 
 \ /
  Last update: 2021-05-31 05:34    [W:0.059 / U:1.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site