Re: [PATCH 03/19] EDAC: Introduce mci_for_each_dimm() iterator

2019-10-11 Thread Mauro Carvalho Chehab
Em Thu, 10 Oct 2019 20:25:10 + Robert Richter escreveu: > Introduce the mci_for_each_dimm() iterator. It returns a pointer to a > struct dimm_info. This makes the declaration and use of an index > obsolete and avoids access to internal data of struct mci (direct > array access etc). > > Sign

[PATCH 03/19] EDAC: Introduce mci_for_each_dimm() iterator

2019-10-10 Thread Robert Richter
Introduce the mci_for_each_dimm() iterator. It returns a pointer to a struct dimm_info. This makes the declaration and use of an index obsolete and avoids access to internal data of struct mci (direct array access etc). Signed-off-by: Robert Richter --- drivers/edac/edac_mc.c | 19