Searched hist:d97fe8eec2b895b2aa2f7bb3d55e7b88bc2d53f3 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/cxl/core/ |
H A D | mbox.c | diff d97fe8eec2b895b2aa2f7bb3d55e7b88bc2d53f3 Thu Mar 31 03:27:16 CEST 2022 Alison Schofield <alison.schofield@intel.com> cxl/mbox: Make handle_mailbox_cmd_from_user() use a mbox param
Previously, handle_mailbox_cmd_from_user(), constructed the mailbox command and dispatched it to the hardware. The construction work has moved to the validation path.
handle_mailbox_cmd_from_user() now expects a fully validated mbox param. Make it's caller, cxl_send_cmd(), deliver it. Update the comments and dereferencing of the new mbox parameter.
Signed-off-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/r/77050ba512d6c30eccf7505467509e460dd325a0.1648687552.git.alison.schofield@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|