rosenberg: fix crash parsing different functions with the same name
commitcab6b64be82dbeac96a006d6c8cd66fc407eff0d
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Feb 2013 12:07:58 +0000 (14 15:07 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Feb 2013 12:07:58 +0000 (14 15:07 +0300)
treecc0e562bfdd1e5916a80a5a1e3217fbf5bee578f
parent993cf15fbfd835dbb7b7f1c3cb1135d08b60d358
rosenberg: fix crash parsing different functions with the same name

We load all the functions we are interested in into a list and we expect
to find the arguments in the right place.  But sometimes there are
functions with the same name as one we are interested in but no arguments.

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