Commit bec16ba6 authored by Jiantao Xiao's avatar Jiantao Xiao
Browse files

Revert "net: hns3: add build check in hclge_get_vf_isolate_bitmap"

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8E9UJ


CVE: NA

----------------------------------------------------------------------

This reverts commit 34217f78.

Signed-off-by: default avatarJiantao Xiao <xiaojiantao1@h-partners.com>
parent 8c79ed04
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3451,9 +3451,6 @@ static void hclge_get_vf_fault_bitmap(struct hclge_desc *desc,

	u8 *buff;

	BUILD_BUG_ON(HCLGE_FIR_FAULT_BYTES + HCLGE_SEC_FAULT_BYTES !=
		     BITS_TO_BYTES(HCLGE_VPORT_NUM));

	memcpy(bitmap, desc[0].data, HCLGE_FIR_FAULT_BYTES);
	buff = (u8 *)bitmap + HCLGE_FIR_FAULT_BYTES;
	memcpy(buff, desc[1].data, HCLGE_SEC_FAULT_BYTES);