mbox series

[v2,0/2] Add an API for edac device, for mulriple errors

Message ID 20190912145305.21008-1-hhhawa@amazon.com (mailing list archive)
Headers show
Series Add an API for edac device, for mulriple errors | expand

Message

Hawa, Hanna Sept. 12, 2019, 2:53 p.m. UTC
Add an API for EDAC device to report for multiple errors, and move the
old report function to use the new API.

Changes from v1:
----------------
- use 'unsigned int' instead of u16
- update variable name to be count
- remove WARN_ON and simply exit if count is zero
- add inline functions in header file

Hanna Hawa (2):
  edac: Add an API for edac device to report for multiple errors
  edac: move edac_device_handle_*() API functions to header

 drivers/edac/edac_device.c | 72 ++++++++++++++++++++------------------
 drivers/edac/edac_device.h | 63 ++++++++++++++++++++++++---------
 2 files changed, 84 insertions(+), 51 deletions(-)