[PATCH phosphor-event v3 1/3] Add delete for error logs

Stewart Smith stewart at linux.vnet.ibm.com
Tue Nov 24 14:56:01 AEDT 2015


OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:

> From: Chris Austen <austenc at us.ibm.com>
>
> This supports both deleting individual logs
> and all logs
> ---
>  Makefile         |   1 +
>  event_messaged.c | 175 +++++++++++++++++++++++++++++++------------------------
>  list.c           |  75 ++++++++++++++++++++++++
>  list.h           |  23 ++++++++

Don't invent a new linked list, we already have CCAN list, and the
approvals to use it (we ship it in skiboot).

The CCAN list provides useful iterators and is inline with the
structure, which is much more efficient.



More information about the openbmc mailing list