mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	
				If fpga_mgr_buf_load() fails, the firmware resource previously allocated
by request_firmware() is leaked. Fix it by calling release_firmware()
regardless of the return value of fpga_mgr_buf_load().
Found by the Coverity scanner (CID 1339653).
Fixes: 
		
	
					 | 
			||
|---|---|---|
| .. | ||
| fpga-mgr.c | ||
| Kconfig | ||
| Makefile | ||
| socfpga.c | ||
| zynq-fpga.c | ||