projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c0df63
)
cxl/pci: Use correct flag for sanitize polling
author
Davidlohr Bueso
<dave@stgolabs.net>
Tue, 27 Jun 2023 08:02:02 +0000
(
01:02
-0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Tue, 27 Jun 2023 22:51:40 +0000
(15:51 -0700)
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>
drivers/cxl/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/cxl/pci.c
b/drivers/cxl/pci.c
index 48f88d96029d17648e0d100196ad03b12944f0bd..1cb1494c28fe82c36f0e75f9a1ee64f6ed77fc38 100644
(file)
--- 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);