[PATCH phosphor-host-ipmid v2 2/2] Removed the handler function of the wild card command enter the commit message for your changes. Lines starting

Cyril Bur cyrilbur at gmail.com
Tue Mar 1 15:17:28 AEDT 2016


On Mon, 29 Feb 2016 05:40:32 -0600
OpenBMC Patches <openbmc-patches at stwcx.xyz> wrote:

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


Probably could have been one patch. Oh well.

Reviewed-by: Cyril Bur <cyrilbur at gmail.com>

> ---
>  globalhandler.C | 16 ----------------
>  1 file changed, 16 deletions(-)
> 
> diff --git a/globalhandler.C b/globalhandler.C
> index 25ae26a..2d3af92 100644
> --- a/globalhandler.C
> +++ b/globalhandler.C
> @@ -142,22 +142,6 @@ ipmi_ret_t ipmi_global_warm_reset(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
>      return rc;
>  }
>  
> -ipmi_ret_t ipmi_global_wildcard_handler(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
> -                              ipmi_request_t request, ipmi_response_t response,
> -                              ipmi_data_len_t data_len, ipmi_context_t context)
> -{
> -    printf("Handling WILDCARD Netfn:[0x%X], Cmd:[0x%X]\n",netfn, cmd);
> -
> -    // Status code.
> -    ipmi_ret_t rc = IPMI_CC_OK;
> -
> -    *data_len = strlen("THIS IS WILDCARD");
> -
> -    // Now pack actual response
> -    memcpy(response, "THIS IS WILDCARD", *data_len);
> -
> -    return rc;
> -}
>  
>  void register_netfn_global_functions()
>  {



More information about the openbmc mailing list