linux/scripts/coccinelle/api
Wolfram Sang 1f648f88ce coccinelle: api: add spatch to prevent unnecessary .owner
There are calls which silently set the owner of a module. This is the
preferred way [1], so avoid setting it manually. Currently, we only care
about platform drivers, but there might be more calls to be added later.

[1] https://lkml.org/lkml/2014/10/12/87

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-06 15:16:02 -08:00
..
alloc Coccinelle: Script to detect cast after memory allocation 2014-08-06 12:10:17 +02:00
d_find_alias.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
err_cast.cocci Coccinelle: Move err_cast.cocci to the api directory 2010-08-31 11:37:54 +02:00
kstrdup.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
memdup.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
memdup_user.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
platform_no_drv_owner.cocci coccinelle: api: add spatch to prevent unnecessary .owner 2014-11-06 15:16:02 -08:00
pm_runtime.cocci scripts: Coccinelle script for pm_runtime_* return checks with IS_ERR_VALUE 2014-01-03 14:39:35 +01:00
ptr_ret.cocci scripts/coccinelle: Use PTR_ERR_OR_ZERO 2014-04-08 17:27:01 +02:00
resource_size.cocci Coccinelle: Move resource_size.cocci to the api directory 2010-08-31 11:37:54 +02:00
simple_open.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00