diff options
author | Dolev Raviv <[email protected]> | 2014-10-23 13:25:14 +0300 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-11-20 17:47:41 +0100 |
commit | 233b594bdf6d846f03816eec1c19ccbd7e4618c0 (patch) | |
tree | b81879930e1a5b11820b15c08847ef1fb67ef1c2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5064636c759628caee3b855048be25a9a33cc8ad (diff) |
scsi: ufs: fix static checker errors in ufshcd_system_suspend
This patch fixes newly introduced sparse warning in
ufshcd_system_suspend, introduced by UFS power management series.
Sparse warning:
drivers/scsi/ufs/ufshcd.c:5118 ufshcd_system_suspend()
error: we previously assumed 'hba' could be null (see line 5089)
To fix it, we return 0 in case HBA is not initialized or is
not powered.
Signed-off-by: Dolev Raviv <[email protected]>
Reviewed-by: Maya Erez <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions