diff options
author | Parav Pandit <[email protected]> | 2020-09-21 19:41:29 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-22 17:38:42 -0700 |
commit | ba356c90985defec30c8680077bf571a50a4004b (patch) | |
tree | 385db55b763ff0c6cb38d98941e4dca0f2a21f2f /lib/mpi/mpicoder.c | |
parent | 3ab0a7a0c349a1d7beb2bb371a62669d1528269d (diff) |
devlink: Enhance policy to validate eswitch mode value
Use range checking facility of nla_policy to validate eswitch mode input
attribute value is valid or not.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions