net: hns3: Fixes byte order issues when printed
driver inclusion category: bugfix bugzilla: NA CVE: NA It's wrong to use %d/%u/%x as print format for type __be or __le before converting between the current processor and either the big or little endian byte order. This patch just fix those problems. Feature or Bugfix:Bugfix Signed-off-by: NGuojia Liao <liaoguojia@huawei.com> Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录