param_mapper: initial commit
If you are hunting down places that pass stack variables to
usb_control_msg() then one thing you find is that there are tons
of helper functions you have to look for as well.
For example usb_get_descriptor() parameter 3 is passed to usb_control_msg()
This check helps you find those:
grep param_mapper warns.txt | grep "usb_control_msg 6$" \
| cut -d ' ' -f 3,6 | sed -e 's/(.*)//' | uniq
Add the output to your check script.
Signed-off-by: Dan Carpenter <error27@gmail.com>