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:Hao Lan <lanhao@huawei.com>
Loading
Please sign in to comment