sval: introduce sval_bits_used()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 17 Nov 2012 13:38:10 +0000 (16:38 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Sat, 17 Nov 2012 13:38:10 +0000 (16:38 +0300)
commit6cd599abd5af7b6bd7fe59cfd7371566de4d041a
tree70a00e39d068278afc6e4c99457aed1abf86806d
parent10cc4aa2b465d21a8a2a0018df901395377e3302
sval: introduce sval_bits_used()

It basically returns fls(sval.uvalued);

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_sval.c