diff options
| author | Dan Carpenter <[email protected]> | 2021-09-16 13:23:31 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-22 04:15:05 +0000 |
| commit | 6dacc371b77f473770ec646e220303a84fe96c11 (patch) | |
| tree | b61dbdbbe69cb7161a7f3e8bf813b4dd7416b261 /lib/timerqueue.c | |
| parent | scsi: lpfc: Fix sprintf() overflow in lpfc_display_fpin_wwpn() (diff) | |
| download | kernel-6dacc371b77f473770ec646e220303a84fe96c11.tar.gz kernel-6dacc371b77f473770ec646e220303a84fe96c11.zip | |
scsi: lpfc: Use correct scnprintf() limit
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: 5b9e70b22cc5 ("scsi: lpfc: raise sg count for nvme to use available sg resources")
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
