[Skiboot] [PATCH 1/3] ipmi: Add a function to (re)initialise a message without allocation
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Jan 28 16:40:05 AEDT 2015
Alistair Popple <alistair at popple.id.au> writes:
> Currently the only functions we have for initialising ipmi messages
> with the correct values also allocate memory for the message. In some
> cases we want to reuse previously allocated messages to avoid
> continually freeing/allocating memory.
>
> This patch introduces a function which (re)initialises a previously
> allocated message and converts existing instances of this behaviour
> over to the new function.
fails make check:
/tmp/cctmIzV0.o: In function `fru_write_complete':
/home/stewart/skiboot/hw/ipmi/test/../ipmi-fru.c:184: undefined reference to `ipmi_init_msg'
More information about the Skiboot
mailing list