[Skiboot] [PATCH v12 08/10] skiboot: Add opal call to enable/disable Nest IMC

Michael Neuling mikey at neuling.org
Fri Jun 9 13:21:19 AEST 2017


> + * opal_imc_counters_init : This call initialize the IMC engine.
> + *
> + * For Nest IMC, this is no-op and returns OPAL_SUCCESS at this point.
> + */
> +static int64_t opal_imc_counters_init(uint32_t type)
> +{
> +	return OPAL_SUCCESS;
> +}

This doesn't compile by itself.  The next patch fixes it.  The easy fix would be
to merge patches 8 and 9 into one patch.

hw/imc.c: In function ‘opal_imc_counters_init’:
hw/imc.c:345:48: error: unused parameter ‘type’ [-Werror=unused-parameter]
 static int64_t opal_imc_counters_init(uint32_t type)
                                                ^~~~
cc1: all warnings being treated as errors
/home/mikey/work/ibm/skiboot/Makefile.rules:56: recipe for target 'hw/imc.o' failed

Mikey


More information about the Skiboot mailing list