Files
twx-linux/drivers/scsi
Dan Carpenter 1b59625da6 scsi: lpfc: Use correct scnprintf() limit
[ Upstream commit 6dacc371b7 ]

The limit should be "PAGE_SIZE - len" instead of "PAGE_SIZE".  We're not
going to hit the limit so this fix will not affect runtime.

Link: https://lore.kernel.org/r/20210916132331.GE25094@kili
Fixes: 5b9e70b22c ("scsi: lpfc: raise sg count for nvme to use available sg resources")
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-30 10:09:24 +02:00
..
2021-07-20 16:10:43 +02:00
2021-07-20 16:10:43 +02:00
2021-05-14 09:44:25 +02:00
2021-05-14 09:44:25 +02:00
2021-05-14 09:44:25 +02:00