mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 23:46:14 +01:00
Add a coccinelle script to check for the usage of dev_err() after a call
to platform_get_irq{,_byname}() as it's redundant now that the function
already prints an error when it fails.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20190730053845.126834-4-swboyd@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| alloc | ||
| debugfs | ||
| atomic_as_refcounter.cocci | ||
| check_bq27xxx_data.cocci | ||
| d_find_alias.cocci | ||
| devm_platform_ioremap_resource.cocci | ||
| err_cast.cocci | ||
| kstrdup.cocci | ||
| memdup.cocci | ||
| memdup_user.cocci | ||
| platform_get_irq.cocci | ||
| platform_no_drv_owner.cocci | ||
| pm_runtime.cocci | ||
| ptr_ret.cocci | ||
| resource_size.cocci | ||
| simple_open.cocci | ||
| stream_open.cocci | ||
| vma_pages.cocci | ||