Re: [PATCH] scsi: aic7xxx: Fix REQUEST SENSE allocation length on big-endian hosts

From: Martin K. Petersen (Oracle)

Date: Fri Oct 30 2026 - 21:42:09 EST


On Tue, 13 Oct 2026 11:42:53 +0200, Imre Kaloz wrote:

> The REQUEST SENSE length was taken from sg->len after the
> AHC_DMA_LAST_SEG flag was or-ed in and the value converted to
> little-endian, so the 8-bit field is 0x80 on big-endian hosts and the
> target is asked for 128 bytes into a 32-byte buffer. Use the buffer
> size, as aic79xx does. On an SGI O2 with a Fujitsu MAX3147NC, the sense
> data of its CHECK CONDITIONs during probe was lost.
>
> [...]

Applied to 7.4/scsi-queue, thanks!

[1/1] scsi: aic7xxx: Fix REQUEST SENSE allocation length on big-endian hosts
https://git.kernel.org/mkp/scsi/c/9a2690eb4bbe

--
Martin K. Petersen