diff options
author | Gwendal Grignou <[email protected]> | 2024-11-19 22:25:22 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-12-04 13:22:59 -0500 |
commit | eb48e9fc0028bed94a40a9352d065909f19e333c (patch) | |
tree | 288732754a7c87984d9385a94e3eef0f90d7909d /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 35002a8ec557f679e414dae9dec9d08c66f2791a (diff) |
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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions