RE: [PATCH v3 2/5] raw/ifpga: remove vdev when ifpga is closed

2022-05-25 Thread Xu, Rosen
ng, Qi Z ; Huang, Wei > > Subject: [PATCH v3 2/5] raw/ifpga: remove vdev when ifpga is closed > > Virtual devices created on ifpga raw device will not be removed when ifpga > device has closed. To avoid resource leak problem, this patch introduces an > ifpga virtual device remove func

[PATCH v3 2/5] raw/ifpga: remove vdev when ifpga is closed

2022-05-25 Thread Wei Huang
Virtual devices created on ifpga raw device will not be removed when ifpga device has closed. To avoid resource leak problem, this patch introduces an ifpga virtual device remove function, virtual devices will be destroyed after the ifpga raw device closed. Fixes: ef1e8ede3da5 ("raw/ifpga: add Int