Commit 71baec7b authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Dan Williams
Browse files

cxl/pci: Use correct flag for sanitize polling



This is a bogus value, left behind from a previous version.

Fixes: 0c36b6ad ("cxl/mbox: Add sanitization handling machinery")
Signed-off-by: default avatarDavidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/7q3vcjqidtmxmys4n34g6b3mygvhaen7yikzxanpz56lw43fz7@7subbtbfkmyx


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 0c0df631
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);