diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2023-06-27 10:02:02 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-06-28 00:51:40 +0200 |
commit | 71baec7b8500c92f9723f39d06a7ae465483da1f (patch) | |
tree | 4bef67ee43f894dcae6d5b881dd03d586c486b93 /drivers | |
parent | Merge branch 'for-6.5/cxl-rch-eh' into for-6.5/cxl (diff) | |
download | linux-71baec7b8500c92f9723f39d06a7ae465483da1f.tar.xz linux-71baec7b8500c92f9723f39d06a7ae465483da1f.zip |
cxl/pci: Use correct flag for sanitize polling
This is a bogus value, left behind from a previous version.
Fixes: 0c36b6ad436a ("cxl/mbox: Add sanitization handling machinery")
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/7q3vcjqidtmxmys4n34g6b3mygvhaen7yikzxanpz56lw43fz7@7subbtbfkmyx
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cxl/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cxl/pci.c b/drivers/cxl/pci.c index 48f88d96029d..1cb1494c28fe 100644 --- a/drivers/cxl/pci.c +++ b/drivers/cxl/pci.c @@ -295,7 +295,7 @@ static int __cxl_pci_mbox_send_cmd(struct cxl_memdev_state *mds, * and allow userspace to poll(2) for completion. */ if (mbox_cmd->opcode == CXL_MBOX_OP_SANITIZE) { - if (mds->security.poll_tmo_secs != -1) { + if (mds->security.poll) { /* hold the device throughout */ get_device(cxlds->dev); |