Re: [PATCH net-next] net/ncsi: add response handlers for PLDM over NC-SI
From: David Miller <davem@davemloft.net>
Date: 2019-08-28 23:00:34
Also in:
lkml, openbmc
From: David Miller <davem@davemloft.net>
Date: 2019-08-28 23:00:34
Also in:
lkml, openbmc
From: Ben Wei <redacted> 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 <redacted>
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.