Re: [PATCH net-next] net/ncsi: add response handlers for PLDM over NC-SI

From: David Miller
Date: Wed Aug 28 2019 - 19:00:35 EST


From: Ben Wei <benwei@xxxxxx>
Date: Tue, 27 Aug 2019 23:03:53 +0000

> This patch adds handlers for PLDM over NC-SI command response.
>
> This enables NC-SI driver recognizes the packet type so the responses don't get dropped as unknown packet type.
>
> PLDM over NC-SI are not handled in kernel driver for now, but can be passed back to user space via Netlink for further handling.
>
> Signed-off-by: Ben Wei <benwei@xxxxxx>

I don't know why but patchwork puts part of your patch into the commit message, see:

https://patchwork.ozlabs.org/patch/1154104/

It's probably an encoding issue or similar.

> +static int ncsi_rsp_handler_pldm(struct ncsi_request *nr) {
> + return 0;
> +}
> +
> static int ncsi_rsp_handler_netlink(struct ncsi_request *nr) {

I know other functions in this file do it, but please put the openning
curly braces of a function on a separate line.

Thank you.