mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
scsi: qla2xxx: Fix debugfs output for fw_resource_count
[ Upstream commit998d09c5ef
] DebugFS output for fw_resource_count shows: estimate exchange used[0] high water limit [1945] n estimate iocb2 used [0] high water limit [5141] estimate exchange2 used[0] high water limit [1945] Which shows incorrect display due to missing newline in seq_print(). [mkp: fix checkpatch warning about space before newline] Fixes:5f63a163ed
("scsi: qla2xxx: Fix exchange oversubscription for management commands") Signed-off-by: Himanshu Madhani <himanshu.madhani@oracle.com> Link: https://lore.kernel.org/r/20240426020056.3639406-1-himanshu.madhani@oracle.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d93318f19d
commit
888c05a172
@ -274,7 +274,7 @@ qla_dfs_fw_resource_cnt_show(struct seq_file *s, void *unused)
|
|||||||
seq_printf(s, "Driver: estimate iocb used [%d] high water limit [%d]\n",
|
seq_printf(s, "Driver: estimate iocb used [%d] high water limit [%d]\n",
|
||||||
iocbs_used, ha->base_qpair->fwres.iocbs_limit);
|
iocbs_used, ha->base_qpair->fwres.iocbs_limit);
|
||||||
|
|
||||||
seq_printf(s, "estimate exchange used[%d] high water limit [%d] n",
|
seq_printf(s, "estimate exchange used[%d] high water limit [%d]\n",
|
||||||
exch_used, ha->base_qpair->fwres.exch_limit);
|
exch_used, ha->base_qpair->fwres.exch_limit);
|
||||||
|
|
||||||
if (ql2xenforce_iocb_limit == 2) {
|
if (ql2xenforce_iocb_limit == 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user