net: hns3: fix pointer cast to different type for wol
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7A712 CVE: NA ---------------------------------------------------------------------- The pointer to decs.data is __le32 (*)[6], is incompatible to "struct hclge_wol_cfg_cmd *". So fix the pointer cast to correct type for decs.data. Signed-off-by: NHao Lan <lanhao@huawei.com>
Showing
想要评论请 注册 或 登录