UNIC: The driver loading process is terminated when the guid fails to be obtained.
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8GIXF CVE: NA ----------------------------------------------------------- If the guid fails to be obtained during driver loading, the firmware is faulty. In this case, stop the driver loading process. This patch changes the return values of hns3_unic_init() and hns3_unic_init_guid() from void to int. When hns3_unic_init_guid() fails to be executed, The driver terminates its initialization process and releases the previously applied resources. Signed-off-by:Haibin Lu <luhaibin10@hisilicon.com>
Loading
Please sign in to comment