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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri,  6 Nov 2020 11:03:38 +0800
From:   Alex Shi <alex.shi@...ux.alibaba.com>
To:     trond.myklebust@...merspace.com, chuck.lever@...cle.com
Cc:     Anna Schumaker <anna.schumaker@...app.com>,
        "J. Bruce Fields" <bfields@...ldses.org>,
        linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] fs/lockd: remove unused NLM4_void_sz to tame compiler

This macro isn't used, so let's remove it to tame gcc.
fs/lockd/clnt4xdr.c:34:0: warning: macro "NLM4_void_sz" is not used
[-Wunused-macros]

Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Trond Myklebust <trond.myklebust@...merspace.com> 
Cc: Anna Schumaker <anna.schumaker@...app.com> 
Cc: "J. Bruce Fields" <bfields@...ldses.org> 
Cc: Chuck Lever <chuck.lever@...cle.com> 
Cc: linux-nfs@...r.kernel.org 
Cc: linux-kernel@...r.kernel.org 
---
 fs/lockd/clnt4xdr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/lockd/clnt4xdr.c b/fs/lockd/clnt4xdr.c
index 7df6324ccb8a..7b1823b2034a 100644
--- a/fs/lockd/clnt4xdr.c
+++ b/fs/lockd/clnt4xdr.c
@@ -31,7 +31,6 @@
  * Declare the space requirements for NLM arguments and replies as
  * number of 32bit-words
  */
-#define NLM4_void_sz		(0)
 #define NLM4_cookie_sz		(1+(NLM_MAXCOOKIELEN>>2))
 #define NLM4_caller_sz		(1+(NLMCLNT_OHSIZE>>2))
 #define NLM4_owner_sz		(1+(NLMCLNT_OHSIZE>>2))
-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ