From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Wed, 11 Jul 2018 11:25:53 -0700 From: Moritz Fischer Subject: Re: fpga: fpga_mgr_free usage Message-ID: <20180711182553.GA5356@archbook> References: <5553262.evi6GU8epL@pcbe13614> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Alan Tull Cc: federico.vaga@cern.ch, linux-fpga@vger.kernel.org, linux-kernel List-ID: Hi Alan, On Wed, Jul 11, 2018 at 10:59:01AM -0500, Alan Tull wrote: > On Wed, Jul 11, 2018 at 7:38 AM, Federico Vaga 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. Cheers, Moritz