Commit 37d061e
scsi: scsi_debug: Constify sdebug_driver_template
It's better to have sdebug_driver_template as const, so update the probe
path to set the shost members directly after allocation and make that
change.
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 8bf10df commit 37d061e
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8707 | 8707 | | |
8708 | 8708 | | |
8709 | 8709 | | |
8710 | | - | |
| 8710 | + | |
8711 | 8711 | | |
8712 | 8712 | | |
8713 | 8713 | | |
| |||
8750 | 8750 | | |
8751 | 8751 | | |
8752 | 8752 | | |
8753 | | - | |
8754 | | - | |
8755 | | - | |
8756 | | - | |
8757 | | - | |
8758 | 8753 | | |
8759 | 8754 | | |
8760 | 8755 | | |
8761 | 8756 | | |
8762 | 8757 | | |
8763 | 8758 | | |
| 8759 | + | |
| 8760 | + | |
| 8761 | + | |
| 8762 | + | |
| 8763 | + | |
8764 | 8764 | | |
8765 | 8765 | | |
8766 | 8766 | | |
| |||
0 commit comments