Re: fpga: fpga_mgr_free usage
- Date: Wed, 11 Jul 2018 11:25:53 -0700
- From: Moritz Fischer <mdf@xxxxxxxxxx>
- Subject: Re: fpga: fpga_mgr_free usage
On Wed, Jul 11, 2018 at 10:59:01AM -0500, Alan Tull wrote:
> On Wed, Jul 11, 2018 at 7:38 AM, Federico Vaga <federico.vaga@xxxxxxx> wrote:
> > This makes the usage consistent: the user creates and destroy its own
> > objects. This is also consistent with our other discussion where we
> > said, among the other things, that the module that uses the FPGA
> > manager can the owner of the fpga_manager data structure.
> You're not the first to complain about this. I think I'll err on the
> side of consistency and implement your option 2 here.
I agree, that seems like a good approach.