edac: fill the location with something useful if the DIMM is not found

If, for any reason, the driver passes a location for a not-filled
memory, uses "unknown memory" for the label. This is to prevent a
message like the one below:

[30418.916116] Generating a fake error to 0.-1.1 to test core handling. NOTE: this won't test the driver-specific decoding logic.
[30418.916123] EDAC MC0: UE FAKE ERROR on  (branch 0 slot 1 page 0x0 offset 0x0 grain 0 for EDAC testing only)

(in this case, there's no memories at slot 1 - so it is simulating
 a driver decoding failure)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 file changed