type_val: use smatch_container_of() information
commit592d003ea1e84dfa75b1ea62ccff3d3a9622dd40
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 3 Nov 2017 11:00:51 +0000 (3 14:00 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 3 Nov 2017 11:00:51 +0000 (3 14:00 +0300)
tree658da965090fc7248786ea932802cf5522c2690a
parente6d32dc935eb26c7e8d278b05ada8ac017cfaa72
type_val: use smatch_container_of() information

The problem is that sometimes container_of() is wrapped inside another
macro or function so we can't detect it just by looking for the
container_of() string.  Fortunately, smatch_container_of() can tell us.

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