Replace the variable pfns_poisoned with elems_poisoned for the common use. Signed-off-by: Shiju Jose <shiju.jose@xxxxxxxxxx> --- drivers/ras/cec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c index 22d11c66c266..f20da1103f27 100644 --- a/drivers/ras/cec.c +++ b/drivers/ras/cec.c @@ -100,8 +100,8 @@ static struct ce_array { * since the last spring cleaning. */ - u64 pfns_poisoned; /* - * number of PFNs which got poisoned. + u64 elems_poisoned; /* + * number of elements which got poisoned. */ u64 ces_entered; /* @@ -362,7 +362,7 @@ static int cec_add_elem(u64 pfn) /* We have reached max count for this page, soft-offline it. */ pr_err("Soft-offlining pfn: 0x%llx\n", pfn); memory_failure_queue(pfn, MF_SOFT_OFFLINE); - ca->pfns_poisoned++; + ca->elems_poisoned++; } del_elem(ca, to); @@ -457,7 +457,7 @@ static int array_dump(struct seq_file *m, void *v) seq_printf(m, "}\n"); seq_printf(m, "Stats:\nCEs: %llu\nofflined pages: %llu\n", - ca->ces_entered, ca->pfns_poisoned); + ca->ces_entered, ca->elems_poisoned); seq_printf(m, "Flags: 0x%x\n", ca->flags); -- 2.17.1