diff options
| author | Alison Schofield <[email protected]> | 2022-03-30 18:27:11 -0700 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2022-04-12 16:07:00 -0700 |
| commit | 6dd0e5cc87b33aee9cfe4d485c4d8b8382701558 (patch) | |
| tree | 52748b66f2c77de4d011decb96951e2cfe469dc1 /scripts/gdb/linux/tasks.py | |
| parent | ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e (diff) | |
cxl/mbox: Move cxl_mem_command construction to helper funcs
Sanitizing and constructing a cxl_mem_command from a userspace
command is part of the validation process prior to submitting
the command to a CXL device. Move this work to helper functions:
cxl_to_mem_cmd(), cxl_to_mem_cmd_raw().
This declutters cxl_validate_cmd_from_user() in preparation for
adding new validation steps.
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/7d9b826f29262e3a484cb4bb7b63872134d60bd7.1648687552.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions