Commit 27b571c
scsi: megaraid_sas: Move megasas_dbg_lvl init to megasas_init()
The megasas_dbg_lvl is a driver level parameter. Do not initialize it in
the probe path. Otherwise we will miss the debug print when binding a
new device to the megaraid driver.
Link: https://lore.kernel.org/r/1663145283-4872-6-git-send-email-kanie@linux.alibaba.com
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent ad40d51 commit 27b571c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7441 | 7441 | | |
7442 | 7442 | | |
7443 | 7443 | | |
7444 | | - | |
7445 | 7444 | | |
7446 | 7445 | | |
7447 | 7446 | | |
| |||
9011 | 9010 | | |
9012 | 9011 | | |
9013 | 9012 | | |
| 9013 | + | |
9014 | 9014 | | |
9015 | 9015 | | |
9016 | 9016 | | |
| |||
0 commit comments