aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJustin Tee <[email protected]>2023-10-31 12:12:16 -0700
committerMartin K. Petersen <[email protected]>2023-11-15 09:52:57 -0500
commit2fe4b6a67730e6ffd002b2b3c4752ef262fedde4 (patch)
treeee75161f1c71f2e5ba09bc63febd3c596d0aaaa3 /scripts/bpf_doc.py
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
scsi: lpfc: Correct maximum PCI function value for RAS fw logging
Currently, the ras_fwlog_func sysfs parameter allows users to input a value greater than three when selecting a PCI function to enable RAS fw logging feature. The user's input is sanity checked in lpfc_sli4_ras_init(), but allowing an input greater than three doesn't make sense because the max number of ports per HBA is four. Change the allowable range from [0, 7] to [0, 3]. Signed-off-by: Justin Tee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions