summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-12-03 15:19:39 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-12-06 22:30:33 -0500
commit21ad0e49085deb22c094f91f9da57319a97188e4 (patch)
tree29743ea1c2c88e816f0df6dfc60c17f6dd4f5c41 /tools/perf/scripts/python/bin/stackcollapse-record
parentd77ea8226b3be23b0b45aa42851243b62a27bda1 (diff)
downloadcachepc-linux-21ad0e49085deb22c094f91f9da57319a97188e4.tar.gz
cachepc-linux-21ad0e49085deb22c094f91f9da57319a97188e4.zip
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/20211203231950.193369-7-bvanassche@acm.org Fixes: 3b1d05807a9a ("[SCSI] ufs: Segregate PCI Specific Code") Reported-by: Alexey Dobriyan <adobriyan@gmail.com> Tested-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions