diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2016-03-10 12:13:52 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-03-11 15:24:39 +1100 |
commit | 2c0aee589932806ecf075c61b5027eed962f7c9c (patch) | |
tree | 7cb4677025e153f570ab7610ca485e71474b7c58 /Makefile.main | |
parent | b3dae4b9de489d831474d7add8bf6b0b4aa5c0d5 (diff) | |
download | skiboot-2c0aee589932806ecf075c61b5027eed962f7c9c.zip skiboot-2c0aee589932806ecf075c61b5027eed962f7c9c.tar.gz skiboot-2c0aee589932806ecf075c61b5027eed962f7c9c.tar.bz2 |
ipmi-sel: Fix esel event logger to handle early boot PANIC events
We pre-allocate IPMI message for PANIC event and use that memory to send
PANIC event to BMC. Presently we return NULL if we have not initiated PANIC
event message. So we won't be able to log early failure events.
This patch tries to initialize ipmi message instead of returning NULL.
Also intialize elog before ipmi_sel_init. Otherwise we will not be able
to create elog message.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
0 files changed, 0 insertions, 0 deletions