public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] suppress warning about unused nowarn variable
@ 2017-06-06 12:17 Corentin Labbe
  2017-06-06 12:17 ` [PATCH v2 1/2] kernel/module.c: Invert add_usage_link and del_usage_link functions Corentin Labbe
  2017-06-06 12:17 ` [PATCH v2 2/2] kernel/module.c: suppress warning about unused nowarn variable Corentin Labbe
  0 siblings, 2 replies; 6+ messages in thread
From: Corentin Labbe @ 2017-06-06 12:17 UTC (permalink / raw)
  To: jeyu, rusty; +Cc: linux-kernel, Corentin Labbe

Hello                                                                           
                                                                                
This patch serie suppress 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]
                                                                                
Changes since v1:                                                               
- renamed out_unreg_usage_links to out_unreg_modinfo_attrs                      
- added extra newline
- added missing call to del_usage_link() in case of add_usage_link() error      
- added patch #1

Corentin Labbe (2):
  kernel/module.c: Invert add_usage_link and del_usage_link functions
  kernel/module.c: suppress warning about unused nowarn variable

 kernel/module.c | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-26 13:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-06 12:17 [PATCH v2 0/2] suppress warning about unused nowarn variable Corentin Labbe
2017-06-06 12:17 ` [PATCH v2 1/2] kernel/module.c: Invert add_usage_link and del_usage_link functions Corentin Labbe
2017-06-19 16:26   ` Jessica Yu
2017-06-20  6:45     ` Corentin Labbe
2017-06-26 13:37       ` Jessica Yu
2017-06-06 12:17 ` [PATCH v2 2/2] kernel/module.c: suppress warning about unused nowarn variable Corentin Labbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox