diff options
| author | Chaohai Chen <[email protected]> | 2025-02-26 06:58:02 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-03-11 01:57:37 +0000 |
| commit | e402ee093f748b3614aa549beef71d071617cddd (patch) | |
| tree | ef770c8204be35340c36e9ba44ac14277808e87e /net/unix/sysctl_net_unix.c | |
| parent | Merge patch series "scsi: ufs: renesas: Add support for R-Car S4-8 ES1.2" (diff) | |
| download | kernel-e402ee093f748b3614aa549beef71d071617cddd.tar.gz kernel-e402ee093f748b3614aa549beef71d071617cddd.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
