Werner Zeh has submitted this change. ( https://review.coreboot.org/c/coreboot/+/55767 )
Change subject: drivers/ipmi/ipmi_fru: Add missing <stdlib.h> ......................................................................
drivers/ipmi/ipmi_fru: Add missing <stdlib.h>
malloc() needs <stdlib.h>
Original-Change-Id: I0cf6a5b76543cb6dac584de6628cfc459d5a60a8 Original-Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/37884 Original-Reviewed-by: Kyösti Mälkki kyosti.malkki@gmail.com Original-Tested-by: build bot (Jenkins) no-reply@coreboot.org (cherry picked from commit f07d7dc2fdd71b3f8b5fd9cbde57068a98a9e602)
Change-Id: I7febb9695199896e3f918b331e0b073d664883e9 Signed-off-by: Marc Jones marcj303@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/55767 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin Roth martinroth@google.com Reviewed-by: Jay Talbott JayTalbott@sysproconsulting.com --- M src/drivers/ipmi/ipmi_fru.c 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Jay Talbott: Looks good to me, but someone else must approve
diff --git a/src/drivers/ipmi/ipmi_fru.c b/src/drivers/ipmi/ipmi_fru.c index a5e6ea6..8be53f8 100644 --- a/src/drivers/ipmi/ipmi_fru.c +++ b/src/drivers/ipmi/ipmi_fru.c @@ -17,6 +17,8 @@ #include <console/console.h> #include <string.h> #include <delay.h> +#include <stdlib.h> + #include "ipmi_ops.h"
#define MAX_FRU_BUSY_RETRY 5