Thread (3 messages) 3 messages, 2 authors, 2021-05-31

Re: [PATCH -next] mm/mmap_lock: fix warning when CONFIG_TRACING is not defined

From: Bixuan Cui <hidden>
Date: 2021-05-31 03:36:04
Also in: lkml


On 2021/5/31 10:02, Matthew Wilcox wrote:
quoted
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
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help