diff options
| author | Bart Van Assche <[email protected]> | 2021-12-03 15:19:39 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-06 22:30:33 -0500 |
| commit | 21ad0e49085deb22c094f91f9da57319a97188e4 (patch) | |
| tree | 29743ea1c2c88e816f0df6dfc60c17f6dd4f5c41 /scripts/objdiff | |
| parent | d77ea8226b3be23b0b45aa42851243b62a27bda1 (diff) | |
scsi: ufs: Fix race conditions related to driver data
The driver data pointer must be set before any callbacks are registered
that use that pointer. Hence move the initialization of that pointer from
after the ufshcd_init() call to inside ufshcd_init().
Link: https://lore.kernel.org/r/[email protected]
Fixes: 3b1d05807a9a ("[SCSI] ufs: Segregate PCI Specific Code")
Reported-by: Alexey Dobriyan <[email protected]>
Tested-by: Bean Huo <[email protected]>
Reviewed-by: Bean Huo <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions