Re: scsi: core: Move two statements (prerequisite for already-backported 4ce7ada40c00)

Sasha Levin
2026-04-20T13:21:35Z

On Mon, Apr 14, 2026, Harshit Mogalapalli wrote:
> 21008cabc5d9 ("scsi: core: Move two statements") is a prerequisite
> for the already-backported 4ce7ada40c00 and should land on
> 6.18/6.12/6.6/6.1 (and 5.15).

I tried queuing 21008cabc5d9 on 6.12 but it causes a build break: the
prerequisite ed638918f4df ("scsi: Rename .slave_alloc() and
.slave_destroy()") renames the scsi_host_template fields
(.slave_alloc -> .sdev_init, .slave_destroy -> .sdev_destroy) while
drivers/staging/rts5208/rtsx.c still uses the old names and fails to
build with:

error: 'const struct scsi_host_template' has no member named
'slave_alloc'

The same rts5208 driver exists on 6.6/6.1/5.15 so those trees hit the
same wall.

--
Thanks,
Sasha