linux/scripts/coccinelle/api
Krzysztof Kozlowski f23e76a32d coccinelle: platform_no_drv_owner: handle also built-in drivers
builtin_platform_driver() and others also use macro
platform_driver_register() which sets the .owner=THIS_MODULE, so extend
the cocci script to detect these as well.

Link: https://lkml.kernel.org/r/20250911184726.23154-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Julia Lawall <julia.lawall@inria.fr>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-22 20:10:59 -07:00
..
alloc update Coccinelle URL 2022-08-07 21:30:36 +02:00
atomic_as_refcounter.cocci coccinelle: api/atomic_as_refcounter: include message type in output 2022-12-26 21:47:12 +01:00
check_bq27xxx_data.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
d_find_alias.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
device_attr_show.cocci coccinelle: device_attr_show: Remove useless expression STR 2024-02-18 09:19:35 +01:00
err_cast.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
kfree_mismatch.cocci coccinelle: api: add kfree_mismatch script 2020-10-17 23:11:06 +02:00
kfree_sensitive.cocci coccinelle: api: kfree_sensitive: print memset position 2020-10-10 21:26:12 +02:00
kstrdup.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
kvmalloc.cocci coccinelle: api: rename kzfree to kfree_sensitive 2021-08-05 13:01:09 +02:00
memdup.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
memdup_user.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
platform_get_irq.cocci coccinelle: platform_get_irq: Fix parse error 2019-09-06 10:10:28 +02:00
platform_no_drv_owner.cocci coccinelle: platform_no_drv_owner: handle also built-in drivers 2025-09-22 20:10:59 -07:00
pm_runtime.cocci Coccinelle: pm_runtime: Fix grammar in comment 2024-05-20 21:31:33 +02:00
resource_size.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
simple_open.cocci
stream_open.cocci [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
string_choices.cocci Reduce Coccinelle choices in string_choices.cocci 2024-09-28 21:33:11 +02:00
vma_pages.cocci