Files
linux/drivers
Chaohai Chen e402ee093f scsi: core: Use a switch statement when attaching VPD pages
The original code used if statements to update discovered VPD pages when
found. This had the side-effect of not breaking the loop when a page was
found.

Use an idiomatic switch statement instead.

Signed-off-by: Chaohai Chen <wdhh6@aliyun.com>
Link: https://lore.kernel.org/r/20250226065802.234144-1-wdhh6@aliyun.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-03-10 21:57:37 -04:00
..
2025-01-18 17:10:05 -08:00
2025-01-18 14:38:49 -06:00
2025-02-07 12:43:58 +01:00
2025-01-20 13:10:15 +01:00