diff options
| author | Gwendal Grignou <[email protected]> | 2024-11-20 06:25:22 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-12-04 18:22:59 +0000 |
| commit | eb48e9fc0028bed94a40a9352d065909f19e333c (patch) | |
| tree | 288732754a7c87984d9385a94e3eef0f90d7909d /drivers/scsi/scsi_debug.c | |
| parent | scsi: qla2xxx: Update version to 10.02.09.400-k (diff) | |
| download | kernel-eb48e9fc0028bed94a40a9352d065909f19e333c.tar.gz kernel-eb48e9fc0028bed94a40a9352d065909f19e333c.zip | |
scsi: ufs: core: sysfs: Prevent div by zero
Prevent a division by 0 when monitoring is not enabled.
Fixes: 1d8613a23f3c ("scsi: ufs: core: Introduce HBA performance monitor sysfs nodes")
Cc: [email protected]
Signed-off-by: Gwendal Grignou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions
