[PATCH phosphor-host-ipmid] Fixing the Duplicate registration for NetFn [0x6], Cmd:[0xFF]

Cyril Bur cyrilbur at gmail.com
Fri Feb 26 16:47:57 AEDT 2016


On Thu, 25 Feb 2016 07:40:36 -0600
OpenBMC Patches <openbmc-patches at stwcx.xyz> wrote:

> From: Ratan Gupta <ratagupt at in.ibm.com>
> 

Hi Ratan,

Any reason you're not removing ipmi_global_wildcard_handler() as well. I assume
it's now unused...

Thanks,

Cyril

> ---
>  globalhandler.C | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/globalhandler.C b/globalhandler.C
> index e68ea79..25ae26a 100644
> --- a/globalhandler.C
> +++ b/globalhandler.C
> @@ -164,8 +164,5 @@ void register_netfn_global_functions()
>      printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n",NETFUN_APP, IPMI_CMD_WARM_RESET);
>      ipmi_register_callback(NETFUN_APP, IPMI_CMD_WARM_RESET, NULL, ipmi_global_warm_reset);
>  
> -    printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n",NETFUN_APP, IPMI_CMD_WILDCARD);
> -    ipmi_register_callback(NETFUN_APP, IPMI_CMD_WILDCARD, NULL, ipmi_global_wildcard_handler);
> -
> -	return;
> +    return;
>  }



More information about the openbmc mailing list