summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2023-03-27 08:37:23 +0300
committerChristoph Hellwig <hch@lst.de>2023-04-13 09:55:05 +0300
commit44aef3b850757a371adde7e47c5c243d3988aa73 (patch)
treeee65a291831b0e53b9f778d20ee0ed6f582ca79e /scripts/lib/kdoc/kdoc_files.py
parentaeacfcefa218f4ed11da478e9b7915a37d1afaff (diff)
downloadlinux-44aef3b850757a371adde7e47c5c243d3988aa73.tar.xz
nvmet-tcp: validate so_priority modparam value
The module parameter so_priority is passed to the function sock_set_priority() which has following prototype and expect priotity arg type to be u32:- void sock_set_priority(struct sock *sk, u32 priority); Add a module parameter validation callback to reject any negative values for the so_priority as it is defigned as int. Use this oppurtunity to update the module parameter description and print the default value. Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions