lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue,  6 Jun 2017 14:17:38 +0200
From:   Corentin Labbe <clabbe.montjoie@...il.com>
To:     jeyu@...hat.com, rusty@...tcorp.com.au
Cc:     linux-kernel@...r.kernel.org,
        Corentin Labbe <clabbe.montjoie@...il.com>
Subject: [PATCH v2 0/2] suppress warning about unused nowarn variable              

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

Powered by blists - more mailing lists