Re: [PATCH] scsi: 53c700: fix invalid frees in m68k driver remove paths

From: Martin K. Petersen

Date: Wed Nov 25 2026 - 22:26:17 EST



Ziheng,

> NCR_700_detect() stores the allocated host parameters in
> host->hostdata[0]. The m68k remove paths instead use shost_priv(host),
> which returns the address of the pointer slot and causes an interior
> free.

Applied to 7.5/scsi-staging, thanks!

--
Martin K. Petersen