smatch_data: fix parsing of <project>.sizeof_param
commitc24d3fc9c290cc34999963d525643b0af44e39c0
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Aug 2017 10:39:55 +0000 (15 13:39 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Aug 2017 10:39:55 +0000 (15 13:39 +0300)
treea69400f29cb40ba421ee125a528616c0a4c0c97e
parent5b5b9e97f049f55303545822643e8b4ae9a33fde
smatch_data: fix parsing of <project>.sizeof_param

We started recording if the function returned the type of the sizeof()

acpi_os_map_iomem 1 -1

But some functions weren't able to handle the -1 so they didn't parse the
file and they gave up silently.

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