mirror of https://gitee.com/openkylin/linux.git
d97629f168
pm_runtime.cocci starts with one rule that searches for a variety of functions calls, followed by various rules that report errors. Previously, the only connection between the first rule and the rest was to check that the first rule had matched somewhere. Change the rules to propagate a position from the first rule to the others, to make sure that the sites reported on are the same as the sites that were identified as having the relevant functions. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.com> |
||
---|---|---|
.. | ||
alloc | ||
debugfs | ||
d_find_alias.cocci | ||
err_cast.cocci | ||
kstrdup.cocci | ||
memdup.cocci | ||
memdup_user.cocci | ||
platform_no_drv_owner.cocci | ||
pm_runtime.cocci | ||
ptr_ret.cocci | ||
resource_size.cocci | ||
setup_timer.cocci | ||
simple_open.cocci | ||
vma_pages.cocci |