On Mon, 2024-11-18 at 22:34 +0800, Xu Yilun wrote: > > @@ -1658,7 +1660,6 @@ void dfl_fpga_feature_devs_remove(struct dfl_fpga_cdev *cdev) > > > > > > > > > > /* remove released ports */ > > if (!device_is_registered(&port_dev->dev)) { > > - dfl_id_free(fdata->type, port_dev->id); > > Also remove the braces. Thanks, this has been resolved in [PATCH v5 14/18]. Peter > > Thanks, > Yilun > > > platform_device_put(port_dev); > > }