aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAlison Schofield <[email protected]>2022-03-30 18:27:17 -0700
committerDan Williams <[email protected]>2022-04-12 16:07:01 -0700
commit2dd5600a0e4e1aca8541e1c5bb2bc26bc0441d4d (patch)
tree19d69031f0dc1ddb7a8d5a4f034265a2618cc999 /net/lapb/lapb_out.c
parentd97fe8eec2b895b2aa2f7bb3d55e7b88bc2d53f3 (diff)
cxl/mbox: Move cxl_mem_command param to a local variable
cxl_validate_command_from_user() is now the single point of validation for mailbox commands coming from user space. Previously, it returned a a cxl_mem_command, but that was not sufficient when validation of the actual mailbox command became a requirement. Now, it returns a fully validated cxl_mbox_cmd. Remove the extraneous cxl_mem_command parameter. Define and use a local version only. Signed-off-by: Alison Schofield <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Dan Williams <[email protected]> Link: https://lore.kernel.org/r/c11a437896d914daf36f5ac8ec62f999c5ec2da7.1648687552.git.alison.schofield@intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions