]> git.baikalelectronics.ru Git - kernel.git/commit
cxl/mbox: Move build of user mailbox cmd to a helper functions
authorAlison Schofield <alison.schofield@intel.com>
Thu, 31 Mar 2022 01:27:13 +0000 (18:27 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 12 Apr 2022 23:07:00 +0000 (16:07 -0700)
commit01cac7635c29b9e46bf6c67135b74b50ece82f0e
treed87b58aea2a40efa7b1fd341c369d1e79420c901
parenta6f60e7b6186b75513a563df8f714c83a7f21c60
cxl/mbox: Move build of user mailbox cmd to a helper functions

In preparation for moving the construction of a mailbox command
to the validation path, extract the work into a helper functions.

Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/493d7618a846d787c3ae28778935ca35e2b85eed.1648687552.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/mbox.c