Commit a799b68a authored by Huilong Deng's avatar Huilong Deng Committed by Trond Myklebust
Browse files

nfs: Remove trailing semicolon in macros



Macros should not use a trailing semicolon.

Signed-off-by: default avatarHuilong Deng <denghuilong@cdjrlc.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent ae605ee9
...@@ -362,7 +362,7 @@ static const struct kernel_param_ops param_ops_nfs_timeout = { ...@@ -362,7 +362,7 @@ static const struct kernel_param_ops param_ops_nfs_timeout = {
.set = param_set_nfs_timeout, .set = param_set_nfs_timeout,
.get = param_get_nfs_timeout, .get = param_get_nfs_timeout,
}; };
#define param_check_nfs_timeout(name, p) __param_check(name, p, int); #define param_check_nfs_timeout(name, p) __param_check(name, p, int)
module_param(nfs_mountpoint_expiry_timeout, nfs_timeout, 0644); module_param(nfs_mountpoint_expiry_timeout, nfs_timeout, 0644);
MODULE_PARM_DESC(nfs_mountpoint_expiry_timeout, MODULE_PARM_DESC(nfs_mountpoint_expiry_timeout,
......
...@@ -1379,7 +1379,7 @@ static const struct kernel_param_ops param_ops_portnr = { ...@@ -1379,7 +1379,7 @@ static const struct kernel_param_ops param_ops_portnr = {
.set = param_set_portnr, .set = param_set_portnr,
.get = param_get_uint, .get = param_get_uint,
}; };
#define param_check_portnr(name, p) __param_check(name, p, unsigned int); #define param_check_portnr(name, p) __param_check(name, p, unsigned int)
module_param_named(callback_tcpport, nfs_callback_set_tcpport, portnr, 0644); module_param_named(callback_tcpport, nfs_callback_set_tcpport, portnr, 0644);
module_param_named(callback_nr_threads, nfs_callback_nr_threads, ushort, 0644); module_param_named(callback_nr_threads, nfs_callback_nr_threads, ushort, 0644);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment