aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2023-03-26 22:37:23 -0700
committerChristoph Hellwig <[email protected]>2023-04-13 08:55:05 +0200
commit44aef3b850757a371adde7e47c5c243d3988aa73 (patch)
treeee65a291831b0e53b9f778d20ee0ed6f582ca79e /drivers/usb/cdns3/cdns3-debug.h
parentaeacfcefa218f4ed11da478e9b7915a37d1afaff (diff)
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 <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions