[PATCH v3 1/4] params: lift param_set_uint_minmax to common code
Christoph Hellwig
hch at lst.de
Thu Jun 17 06:48:22 PDT 2021
This needs a Cc to linux-kernel..
> @@ -432,6 +432,9 @@ extern const struct kernel_param_ops param_ops_uint;
> extern int param_set_uint(const char *val, const struct kernel_param *kp);
> extern int param_get_uint(char *buffer, const struct kernel_param *kp);
> #define param_check_uint(name, p) __param_check(name, p, unsigned int)
> +int param_set_uint_minmax(const char *val,
> + const struct kernel_param *kp,
> + unsigned int min, unsigned int max);
Super minor nitpick, but for consistency I'd move it above the
param_check_uint definition/
More information about the Linux-nvme
mailing list