mbox series

[net,v2,0/2] fix some issues in netdevsim driver

Message ID 20221022044847.61995-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series fix some issues in netdevsim driver | expand

Message

shaozhengchao Oct. 22, 2022, 4:48 a.m. UTC
Fix some issues in netdevsim driver.
---
v2: release resources in nsim_dev_resources_register() when
    devl_resource_register() failed, and modify fixes tag
--

Zhengchao Shao (2):
  netdevsim: fix memory leak in nsim_drv_probe() when
    nsim_dev_resources_register() failed
  netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports
    dir failed

 drivers/net/netdevsim/dev.c | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)