Re: [PATCH v1] scsi: qla1280.c: fix kernel Oops when debug level > 2
From: Martin K. Petersen
Date: Mon Feb 03 2025 - 22:35:12 EST
On Sat, 25 Jan 2025 10:49:22 +0100, Magnus Lindholm wrote:
> A null dereference or Oops exception will eventually occur when qla1280.c
> driver is compiled with DEBUG_QLA1280 enabled and ql_debug_level > 2.
> I think its clear from the code that the intention here is sg_dma_len(s)
> not length of sg_next(s) when printing the debug info.
>
>
Applied to 6.14/scsi-fixes, thanks!
[1/1] scsi: qla1280.c: fix kernel Oops when debug level > 2
https://git.kernel.org/mkp/scsi/c/5233e3235dec
--
Martin K. Petersen Oracle Linux Engineering