Commit 56e61a9c5fe7b799504b125c278b56cc2c42670f

Authored by Doug Thompson
Committed by Linus Torvalds
1 parent fa9ff4b185

drivers-edac: turn on edac device error logging

ENABLE the 'logging' of CE and UE events for the EDAC_DEVICE class of error
harvester in EDAC

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

drivers/edac/edac_device.c
... ... @@ -155,6 +155,10 @@
155 155 dev_ctl->instances = dev_inst;
156 156 dev_ctl->pvt_info = pvt;
157 157  
  158 + /* Default logging of CEs and UEs */
  159 + dev_ctl->log_ce = 1;
  160 + dev_ctl->log_ue = 1;
  161 +
158 162 /* Name of this edac device */
159 163 snprintf(dev_ctl->name,sizeof(dev_ctl->name),"%s",edac_device_name);
160 164