X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=fs%2Flockd%2Fsvc.c;h=a8e3777c94dc6c44ae050168bf7906eecf71d085;hp=f04ecfc7ece0c98789161453377890a68094cb34;hb=4dd3c2e5a4225e3df85afc6033e62ce8b09f0ed2;hpb=22700f3c6df55387cec2ee27c533a7b23c76dc51;ds=sidebyside diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index f04ecfc7ece0..a8e3777c94dc 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -600,7 +600,7 @@ static struct ctl_table nlm_sysctl_root[] = { */ #define param_set_min_max(name, type, which_strtol, min, max) \ -static int param_set_##name(const char *val, struct kernel_param *kp) \ +static int param_set_##name(const char *val, const struct kernel_param *kp) \ { \ char *endp; \ __typeof__(type) num = which_strtol(val, &endp, 0); \