Thread (3 messages) 3 messages, 3 authors, 2021-09-22

Re: [PATCH] scsi: lpfc: use correct scnprintf() limit

From: James Smart <hidden>
Date: 2021-09-16 20:22:29
Also in: linux-scsi

On 9/16/2021 6:23 AM, Dan Carpenter wrote:
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.

Fixes: 5b9e70b22cc5 ("scsi: lpfc: raise sg count for nvme to use available sg resources")
Signed-off-by: Dan Carpenter <redacted>
---
  drivers/scsi/lpfc/lpfc_attr.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
looks good. Thank you

Reviewed-by: James Smart <redacted>

-- james

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help