Re: [PATCH] scsi: wd719x: Fix potential firmware buffer leak on probe failure

From: Martin K. Petersen

Date: Thu Nov 19 2026 - 21:41:09 EST



Guangshuo,

> A failed chip initialization leaves the coherent firmware buffer
> behind while probe releases the host. Disable the RISC and bus
> mastering before unwinding the failed initialization, then free the
> firmware buffer along with the other internal DMA buffers.

Applied to 7.5/scsi-staging, thanks!

--
Martin K. Petersen