]> 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)
commitbc05e0d53ed338c452b147940dad9ce3464c2b10
treed87b58aea2a40efa7b1fd341c369d1e79420c901
parentcd8b3a88942c1f7157793537c2854a082b96ac36
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