linux/drivers/fpga
Tobias Klauser e73bbf6490 fpga: region: release FPGA region reference in error path
If fpga_region_get_manager() fails in fpga_region_program_fpga(), a
reference to the fpga_manager instance previously acquired through
fpga_region_get() is retained. Make sure to properly release it in the
error case by using a separate jump label which will call
fpga_region_put() in before returning.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-26 11:38:56 +02:00
..
altera-fpga2sdram.c ARM: socfpga: checking the wrong variable 2016-11-17 08:14:55 +01:00
altera-freeze-bridge.c fpga: altera_freeze_bridge: Constify ops 2017-04-08 17:45:28 +02:00
altera-hps2fpga.c fpga altera-hps2fpga: disable/unprepare clock on error in alt_fpga_bridge_probe() 2017-04-26 11:38:56 +02:00
altera-pr-ip-core-plat.c fpga pr ip: Platform driver for Altera Partial Reconfiguration IP. 2017-04-08 17:45:28 +02:00
altera-pr-ip-core.c fpga pr ip: Core driver support for Altera Partial Reconfiguration IP. 2017-04-08 17:45:28 +02:00
fpga-bridge.c fpga: bridge: Replace open-coded list_for_each + list_entry 2017-03-17 15:10:48 +09:00
fpga-mgr.c fpga: fix sparse warnings in fpga-mgr and fpga-bridge 2017-03-17 15:10:48 +09:00
fpga-region.c fpga: region: release FPGA region reference in error path 2017-04-26 11:38:56 +02:00
ice40-spi.c fpga: Add support for Lattice iCE40 FPGAs 2017-03-17 15:10:48 +09:00
Kconfig fpga: Add support for Xilinx LogiCORE PR Decoupler 2017-04-08 17:50:36 +02:00
Makefile fpga: Add support for Xilinx LogiCORE PR Decoupler 2017-04-08 17:50:36 +02:00
socfpga-a10.c fpga: Clarify how write_init works streaming modes 2016-11-29 15:51:49 -06:00
socfpga.c fpga-mgr: add fpga image information struct 2016-11-10 17:03:35 +01:00
ts73xx-fpga.c FPGA: Add TS-7300 FPGA manager 2017-03-17 15:10:48 +09:00
xilinx-pr-decoupler.c fpga: Add support for Xilinx LogiCORE PR Decoupler 2017-04-08 17:50:36 +02:00
xilinx-spi.c fpga manager: Add Xilinx slave serial SPI driver 2017-04-08 17:45:28 +02:00
zynq-fpga.c fpga: zynq: Add support for encrypted bitstreams 2017-03-17 15:10:48 +09:00