Re: [PATCH] fpga: fpga-mgr: remove unnecessary code in __fpga_mgr_get

From: Gustavo A. R. Silva
Date: Fri Oct 27 2017 - 15:55:11 EST



Quoting Alan Tull <atull@xxxxxxxxxx>:

On Fri, Oct 27, 2017 at 2:09 PM, Gustavo A. R. Silva
<garsilva@xxxxxxxxxxxxxx> wrote:
Hi Alan,

Quoting Alan Tull <atull@xxxxxxxxxx>:

On Thu, Oct 26, 2017 at 6:02 PM, Gustavo A. R. Silva
<garsilva@xxxxxxxxxxxxxx> wrote:

Hi Gustavo,

Thanks for pointing that out. There's also a similar thing in
fpga-bridge.c that I need to fix.


Can you share with me what exactly are you trying to fix?

If the issue is similar I might be able to help.

Same fix, but in of_fpga_bridge_get. Checks the output of
to_fpga_bridge for NULL.


Oh I see now. I'll send a patch for this shortly.

Thanks!
--
Gustavo A. R. Silva