aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDolev Raviv <[email protected]>2014-10-23 13:25:15 +0300
committerChristoph Hellwig <[email protected]>2014-11-20 17:47:41 +0100
commit758581b929ce50ae3a5cf80735e3e58ef45c31b5 (patch)
tree969ec0edd06694ffae32cd142c64cb3804d5db90 /tools/perf/scripts/python
parent233b594bdf6d846f03816eec1c19ccbd7e4618c0 (diff)
scsi: ufs: fix static checker warning in ufshcd_populate_vreg
This patch fixes newly introduced static checker warning in ufshcd_populate_vreg, introduced by UFS power management series. Warning: drivers/scsi/ufs/ufshcd-pltfrm.c:167 ufshcd_populate_vreg() warn: missing error code here? 'devm_kzalloc()' failed. 'ret' = '0' To fix it we return -ENOMEM and skip the message print. 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')
0 files changed, 0 insertions, 0 deletions