Re: [PATCH RESEND] scsi: scsi_ioctl: use strnlen in scsi_ioctl_get_pci

From: Martin K. Petersen

Date: Mon Jun 01 2026 - 22:12:45 EST


On Sun, 17 May 2026 19:15:47 +0200, Thorsten Blum wrote:

> Use strnlen() to limit string scanning to 20 characters.
>
> Reformat the code and use tabs instead of spaces while at it.
>
>

Applied to 7.2/scsi-queue, thanks!

[1/1] scsi: scsi_ioctl: use strnlen in scsi_ioctl_get_pci
https://git.kernel.org/mkp/scsi/c/09be9d404f42

--
Martin K. Petersen