Re: [PATCH] x86/apm: Fix a unused function warning

2018-09-17 Thread zhong jiang
On 2018/9/17 17:24, Thomas Gleixner wrote: > On Mon, 17 Sep 2018, zhong jiang wrote: > >> Fix the following compile warning: >> >> arch/x86/kernel/apm_32.c:1643:12: warning: ?proc_apm_show? defined but not >> used [-Wunused-function] >> static int proc_apm_show(struct seq_file *m, void *v) > Than

Re: [PATCH] x86/apm: Fix a unused function warning

2018-09-17 Thread Thomas Gleixner
On Mon, 17 Sep 2018, zhong jiang wrote: > Fix the following compile warning: > > arch/x86/kernel/apm_32.c:1643:12: warning: ?proc_apm_show? defined but not > used [-Wunused-function] > static int proc_apm_show(struct seq_file *m, void *v) Thanks for taking care, but it's already fixed the same

[PATCH] x86/apm: Fix a unused function warning

2018-09-16 Thread zhong jiang
Fix the following compile warning: arch/x86/kernel/apm_32.c:1643:12: warning: ‘proc_apm_show’ defined but not used [-Wunused-function] static int proc_apm_show(struct seq_file *m, void *v) Signed-off-by: zhong jiang --- arch/x86/kernel/apm_32.c | 2 ++ 1 file changed, 2 insertions(+) diff --