function_hooks: change add_function_param_hook() to add_param_key_expr_hook()
commitbf36c4b3892c5f00c3a4c26efd15191da878b599
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 28 Jul 2023 09:32:12 +0000 (28 12:32 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Fri, 28 Jul 2023 09:32:12 +0000 (28 12:32 +0300)
tree519f1713e4c2ccaa998bda87cb98af244546bbde
parentea364e012fc5f303846395ad01869069b36e9918
function_hooks: change add_function_param_hook() to add_param_key_expr_hook()

While I was writing the commit message to an earlier commit this morning
I realized that actually we will eventually want to pass a key and fake
an expression.  So change the code to do that.

Otherwise, I will create the new code and then have to update all the users
to the more flexible and powerful code later.  Which I won't do.  But will
instead leave it as-is and hate the mess of it.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
smatch.h
smatch_expressions.c
smatch_function_hooks.c
smatch_kernel_task_state_info.c