lkml.org 
[lkml]   [2018]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v4 09/24] fpga: dfl-pci: add enumeration for feature devices
On Wed, Mar 14, 2018 at 12:21 AM, Wu Hao <hao.wu@intel.com> wrote:

>> > +
>> > + 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

\
 
 \ /
  Last update: 2018-03-14 15:49    [W:0.118 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site