1
linux/drivers/misc/ti-st
Lee Jones e4ebe5fe2d misc: st_core: Protect unsigned value against becoming negative
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.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 23:14:28 -07:00
..
Kconfig
Makefile
st_core.c misc: st_core: Protect unsigned value against becoming negative 2014-09-23 23:14:28 -07:00
st_kim.c drivers/misc/ti-st: Load firmware from ti-connectivity directory. 2014-07-23 17:02:49 -07:00
st_ll.c