Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 767ba4a5 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

i7core_edac: Initialize memory name with cpu, channel, bank

parent 4fad8098
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -746,6 +746,10 @@ static int get_dimm_config(const struct mem_ctl_info *mci)


			csr->edac_mode = mode;
			csr->edac_mode = mode;
			csr->mtype = mtype;
			csr->mtype = mtype;
			snprintf(csr->channels[0].label,
					sizeof(csr->channels[0].label),
					"CPU#%uChannel#%u_DIMM#%u",
					pvt->i7core_dev->socket, i, j);


			csrow++;
			csrow++;
		}
		}