function_hooks: introduce return_implies_param_key_expr()
commitabbd0aab15b228cf159e50f55dc20f195e31779c
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 28 Jul 2023 09:55:35 +0000 (28 12:55 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Fri, 28 Jul 2023 09:55:35 +0000 (28 12:55 +0300)
tree61df8cce75eebd5d733a36a0840bbc9d670c9dad
parentbf36c4b3892c5f00c3a4c26efd15191da878b599
function_hooks: introduce return_implies_param_key_expr()

This is like return_implies_param_key() but instead of giving you a
name/sym, it gives you an expression pointer.

I also fixed kernel_task_state_info using this so that now it handles
prepare_to_wait_event() correctly.

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