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

From: Martin K. Petersen

Date: Fri May 22 2026 - 21:14:03 EST



Thorsten,

> 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-staging, thanks!

--
Martin K. Petersen