Thread (93 messages) 93 messages, 4 authors, 2018-04-06

Re: [PATCH v4 09/24] fpga: dfl-pci: add enumeration for feature devices

From: Alan Tull <atull@kernel.org>
Date: 2018-03-14 14:49:18
Also in: linux-fpga, lkml

On Wed, Mar 14, 2018 at 12:21 AM, Wu Hao [off-list ref] wrote:
quoted
quoted
+
+       drvdata->cdev = cdev;
+
+enum_info_free_exit:
+       fpga_enum_info_free(info);
This is the only place I saw fpga_enum_info_free being called.
It doesn't need to keep the enumeration inforamtion data structure once
the enumeration done, so in the driver, it always did fpga_enum_info_free
once fpga_enumerate_feature_devs(info) returned in this function. so
no need to consider it in other places per my understanding. : )

Thanks
Hao
Oh yes I see!  I was looking right at it and didn't see it!  Thanks
for the clarification.

Alan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help