smatch_data: acquire_group() doesn't return NULL
commit3d51bead21fed171429673fd130e4da3a50907f0
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Aug 2017 10:27:31 +0000 (15 13:27 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Aug 2017 10:27:31 +0000 (15 13:27 +0300)
tree73c608332c29dfecb486b644c98e1c8e60e16173
parent4a2b70d6d9c6d6f4f2794ce47c087b69f4527db9
smatch_data: acquire_group() doesn't return NULL

Well, there are two versions of acquire_group() and one returns NULL and
the other does not.  It causes false positives.

Reported-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/kernel.allocation_funcs_gfp
smatch_data/kernel.allocation_funcs_gfp.remove [new file with mode: 0644]
smatch_scripts/add_gfp_to_allocations.sh