db: split success/fail returns as best we can
commit52bb707452e65cfeb2a924f036d41659bacd63fe
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 23 Dec 2014 08:26:09 +0000 (23 11:26 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 23 Dec 2014 08:26:09 +0000 (23 11:26 +0300)
tree324741eed75ea57beac76dbbf29bad130f8b8725
parent7bd0d83b68675a72ce70f5f747bcee1cb63abcaa
db: split success/fail returns as best we can

We try to split returns as much as possible but sometimes there are too
many states.  This is a compromise solution which says that in the kernel
if there are too many states to split every return, then at least lets
separate the negative error returns from the zero returns.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_db.c
smatch_extra.h
smatch_math.c