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:
374de16
)
misc: st_core: Protect unsigned value against becoming negative
author
Lee Jones
<lee.jones@linaro.org>
Wed, 13 Aug 2014 11:23:10 +0000
(12:23 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 26 Sep 2014 07:15:28 +0000
(08:15 +0100)
Coverity reported:
This less-than-zero comparison of an unsigned value is never true.
In answer to that, we only ever decrement if protos_registered is
positive. We can subsequently remove the paranoid checking during
unregister.
Cc: gregkh@linuxfoundation.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
No differences found