Skip to content

Commit 94a4c2b

Browse files
committed
Merge tag 'cxl+nvdimm-for-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
Pull cxl and nvdimm fixes from Dan Williams: - Fix a compile error in the nvdimm unit tests - Fix a shadowed variable warning in the CXL PCI driver * tag 'cxl+nvdimm-for-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: cxl/pci: Drop shadowed variable tools/testing/nvdimm: Fix security_init() symbol collision
2 parents fa3b895 + d288204 commit 94a4c2b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

drivers/cxl/pci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ static int wait_for_media_ready(struct cxl_dev_state *cxlds)
436436

437437
for (i = mbox_ready_timeout; i; i--) {
438438
u32 temp;
439-
int rc;
440439

441440
rc = pci_read_config_dword(
442441
pdev, d + CXL_DVSEC_RANGE_SIZE_LOW(0), &temp);

tools/testing/nvdimm/test/nfit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ static int nfit_test_dimm_init(struct nfit_test *t)
18421842
return 0;
18431843
}
18441844

1845-
static void security_init(struct nfit_test *t)
1845+
static void nfit_security_init(struct nfit_test *t)
18461846
{
18471847
int i;
18481848

@@ -1938,7 +1938,7 @@ static int nfit_test0_alloc(struct nfit_test *t)
19381938
if (nfit_test_dimm_init(t))
19391939
return -ENOMEM;
19401940
smart_init(t);
1941-
security_init(t);
1941+
nfit_security_init(t);
19421942
return ars_state_init(&t->pdev.dev, &t->ars_state);
19431943
}
19441944

0 commit comments

Comments
 (0)