Re: [PATCH] kernel/module.c: fix warning about unused nowarn variable

2017-06-05 Thread Corentin Labbe
On Mon, Jun 05, 2017 at 10:09:24PM -0700, Jessica Yu wrote: > +++ Corentin Labbe [02/06/17 14:05 +0200]: > >This patch fix the following warning: > >kernel/module.c: In function 'add_usage_links': > >kernel/module.c:1653:6: warning: variable 'nowarn' set but not used > >[-Wunused-but-set-variable]

Re: [PATCH] kernel/module.c: fix warning about unused nowarn variable

2017-06-05 Thread Jessica Yu
+++ Corentin Labbe [02/06/17 14:05 +0200]: This patch fix the following warning: kernel/module.c: In function 'add_usage_links': kernel/module.c:1653:6: warning: variable 'nowarn' set but not used [-Wunused-but-set-variable] int nowarn; Signed-off-by: Corentin Labbe --- kernel/module.c | 13 +

[PATCH] kernel/module.c: fix warning about unused nowarn variable

2017-06-02 Thread Corentin Labbe
This patch fix the following warning: kernel/module.c: In function 'add_usage_links': kernel/module.c:1653:6: warning: variable 'nowarn' set but not used [-Wunused-but-set-variable] int nowarn; Signed-off-by: Corentin Labbe --- kernel/module.c | 13 + 1 file changed, 9 insertions(