OpenCloudOS-Kernel/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 tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile misc: ti-st: Kconfig & Makefile for TI_ST 2010-10-06 08:27:00 -07:00
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 drivers/misc/ti-st: check chip_awake NULL check 2012-08-16 10:11:45 -07:00