git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758581b
)
scsi: ufs: fix static checker warning in __ufshcd_setup_clocks
author
Dolev Raviv
<draviv@codeaurora.org>
Thu, 23 Oct 2014 10:25:16 +0000
(13:25 +0300)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 20 Nov 2014 16:47:41 +0000
(17:47 +0100)
This patch fixes newly introduced static checker warning in
__ufshcd_setup_clocks, introduced by UFS power management series.
Warning:
drivers/scsi/ufs/ufshcd.c:4474 __ufshcd_setup_clocks()
warn: we tested 'ret' before and it was 'false'
To fix it we remove the (!ret) from the condition.
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/ufs/ufshcd.c
patch
|
blob
|
history
diff --cc
drivers/scsi/ufs/ufshcd.c
Simple merge