Skip to content

Commit 163f5de

Browse files
Ivan Mikhaylovdavem330
authored andcommitted
net/ncsi: add dummy response handler for Intel boards
Add the dummy response handler for Intel boards to prevent incorrect handling of OEM commands. Signed-off-by: Ivan Mikhaylov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent abd2fdd commit 163f5de

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

net/ncsi/ncsi-rsp.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,12 +699,19 @@ static int ncsi_rsp_handler_oem_bcm(struct ncsi_request *nr)
699699
return 0;
700700
}
701701

702+
/* Response handler for Intel card */
703+
static int ncsi_rsp_handler_oem_intel(struct ncsi_request *nr)
704+
{
705+
return 0;
706+
}
707+
702708
static struct ncsi_rsp_oem_handler {
703709
unsigned int mfr_id;
704710
int (*handler)(struct ncsi_request *nr);
705711
} ncsi_rsp_oem_handlers[] = {
706712
{ NCSI_OEM_MFR_MLX_ID, ncsi_rsp_handler_oem_mlx },
707-
{ NCSI_OEM_MFR_BCM_ID, ncsi_rsp_handler_oem_bcm }
713+
{ NCSI_OEM_MFR_BCM_ID, ncsi_rsp_handler_oem_bcm },
714+
{ NCSI_OEM_MFR_INTEL_ID, ncsi_rsp_handler_oem_intel }
708715
};
709716

710717
/* Response handler for OEM command */

0 commit comments

Comments
 (0)