Commit b2f8609
scsi: scsi_debug: Rework page code error handling
Instead of tracking whether or not the page code is valid in a boolean
variable, jump to error handling code if an unsupported page code is
encountered.
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240130214911.1863909-15-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent b1e5c0b commit b2f8609
1 file changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2644 | 2644 | | |
2645 | 2645 | | |
2646 | 2646 | | |
2647 | | - | |
| 2647 | + | |
2648 | 2648 | | |
2649 | 2649 | | |
2650 | 2650 | | |
| |||
2708 | 2708 | | |
2709 | 2709 | | |
2710 | 2710 | | |
2711 | | - | |
2712 | 2711 | | |
2713 | 2712 | | |
2714 | 2713 | | |
| |||
2723 | 2722 | | |
2724 | 2723 | | |
2725 | 2724 | | |
2726 | | - | |
2727 | | - | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
2728 | 2728 | | |
2729 | 2729 | | |
2730 | 2730 | | |
2731 | 2731 | | |
2732 | 2732 | | |
2733 | | - | |
2734 | | - | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
2735 | 2736 | | |
2736 | 2737 | | |
2737 | 2738 | | |
| |||
2784 | 2785 | | |
2785 | 2786 | | |
2786 | 2787 | | |
2787 | | - | |
2788 | | - | |
2789 | | - | |
2790 | | - | |
2791 | | - | |
2792 | | - | |
| 2788 | + | |
2793 | 2789 | | |
2794 | 2790 | | |
2795 | 2791 | | |
2796 | 2792 | | |
2797 | 2793 | | |
2798 | 2794 | | |
| 2795 | + | |
| 2796 | + | |
| 2797 | + | |
| 2798 | + | |
2799 | 2799 | | |
2800 | 2800 | | |
2801 | 2801 | | |
| |||
0 commit comments