diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-07-28 14:31:32 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-07-31 15:32:42 +1000 |
commit | aed8d7eaf979e14d8e04e651a00327a5e3d41716 (patch) | |
tree | 94cdd9c1ddad50641f4518e62b86ffde41553648 /include | |
parent | 56b7f5113e3469620c5a1f8994550c5d72f571a8 (diff) | |
download | skiboot-aed8d7eaf979e14d8e04e651a00327a5e3d41716.zip skiboot-aed8d7eaf979e14d8e04e651a00327a5e3d41716.tar.gz skiboot-aed8d7eaf979e14d8e04e651a00327a5e3d41716.tar.bz2 |
errorlog: Deprecate elog callback parameter
There are now no users of the call_out parameter and future users should
use the log_append_msg() and log_append_data() functions, so remove all
references to call_out.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/errorlog.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/errorlog.h b/include/errorlog.h index eb37452..b908fd4 100644 --- a/include/errorlog.h +++ b/include/errorlog.h @@ -149,7 +149,6 @@ struct opal_err_info { uint8_t subsystem; uint8_t sev; uint8_t event_subtype; - void (*call_out)(struct errorlog *buf, void *data, uint16_t size); }; /* Component IDs */ @@ -326,10 +325,9 @@ enum opal_reasoncode { }; #define DEFINE_LOG_ENTRY(reason, type, id, subsys, \ -severity, subtype, callout_func) static struct opal_err_info err_##reason = \ +severity, subtype) static struct opal_err_info err_##reason = \ { .reason_code = reason, .err_type = type, .cmp_id = id, \ -.subsystem = subsys, .sev = severity, .event_subtype = subtype, \ -.call_out = callout_func } +.subsystem = subsys, .sev = severity, .event_subtype = subtype } /* This is wrapper around the error log function, which creates * and commits the error to FSP. |