代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/lldpad 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From b6c5d86ea57594893d4fd95a0bf8043c45c953a4 Mon Sep 17 00:00:00 2001
From: Paddu Krishnan <padkrish@cisco.com>
Date: Wed, 21 Jan 2015 03:42:01 +0000
Subject: [PATCH] VDP: Fixed DBG print compile errors in 32-bit systems
Signed-off-by: Paddu Krishnan <padkrish@cisco.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
---
qbg/vdp22cisco_oui.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/qbg/vdp22cisco_oui.c b/qbg/vdp22cisco_oui.c
index e8a824c..272d480 100644
--- a/qbg/vdp22cisco_oui.c
+++ b/qbg/vdp22cisco_oui.c
@@ -92,7 +92,7 @@ bool cisco_str2vdpnl_hndlr(struct vdpnl_oui_data_s *vdp_oui_p, char *token)
strncpy(vdp_cisco_oui_p->vm_name, token, data_len);
vdp_cisco_oui_p->vm_name[data_len] = '\0';
vdp_cisco_oui_p->vm_name_len = data_len;
- LLDPAD_DBG("Name %s Len %ld\n",
+ LLDPAD_DBG("Name %s Len %zu\n",
vdp_cisco_oui_p->vm_name,
vdp_cisco_oui_p->vm_name_len);
break;
@@ -364,7 +364,7 @@ static inline size_t cisco_vdp22_gen_l3addr(char unsigned *cp, size_t offset,
offset += oui_append_4o(cp + offset, 0);
LLDPAD_ERR("%s: Not supported for now\n", __func__);
}
- LLDPAD_DBG("%s: Valid VM Addr offset %ld\n", __func__, offset);
+ LLDPAD_DBG("%s: Valid VM Addr offset %zu\n", __func__, offset);
return offset;
}
@@ -395,7 +395,7 @@ static inline size_t cisco_vdp22_gen_vmname(char unsigned *cp, size_t offset,
offset += oui_append_nb(cp + offset,
(char unsigned *)vdp_cisco_oui_str->vm_name,
vdp_cisco_oui_str->vm_name_len);
- LLDPAD_DBG("%s: Valid VM Name offset %ld\n", __func__, offset);
+ LLDPAD_DBG("%s: Valid VM Name offset %zu\n", __func__, offset);
return offset;
}
--
2.1.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。