OSDN Git Service

params: lift param_set_uint_minmax to common code
authorSagi Grimberg <sagi@grimberg.me>
Wed, 16 Jun 2021 21:19:33 +0000 (14:19 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 12:42:22 +0000 (14:42 +0200)
commit2a14c9ae15a38148484a128b84bff7e9ffd90d68
tree6ff98acb5e26d5bf21c4e644ef8348b7a2dd7acc
parent9ea9b9c48387edc101d56349492ad9c0492ff78d
params: lift param_set_uint_minmax to common code

It is a useful helper hence move it to common code so others can enjoy
it.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/moduleparam.h
kernel/params.c
net/sunrpc/xprtsock.c