linux/scripts/coccinelle/api
Sean Christopherson 880218361c Revert "debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage"
Remove coccinelle's recommendation to use DEFINE_DEBUGFS_ATTRIBUTE()
instead of DEFINE_SIMPLE_ATTRIBUTE().  Regardless of whether or not the
"significant overhead" incurred by debugfs_create_file() is actually
meaningful, warnings from the script have led to a rash of low-quality
patches that have sowed confusion and consumed maintainer time for little
to no benefit.  There have been no less than four attempts to "fix" KVM,
and a quick search on lore shows that KVM is not alone.

This reverts commit 5103068eac.

Link: https://lore.kernel.org/all/87tu2nbnz3.fsf@mpe.ellerman.id.au
Link: https://lore.kernel.org/all/c0b98151-16b6-6d8f-1765-0f7d46682d60@redhat.com
Link: https://lkml.kernel.org/r/20230706072954.4881-1-duminjie%40vivo.com
Link: https://lore.kernel.org/all/Y2FsbufV00jbyF0B@google.com
Link: https://lore.kernel.org/all/Y2ENJJ1YiSg5oHiy@orome
Link: https://lore.kernel.org/all/7560b350e7b23786ce712118a9a504356ff1cca4.camel@kernel.org
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230726202920.507756-1-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-07-29 11:05:31 -04: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 scripts: device_attr_show.cocci: update location of sysfs doc 2020-09-10 10:47:52 -06: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_user.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
memdup.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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 257 2019-06-05 17:30:27 +02:00
pm_runtime.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
resource_size.cocci update Coccinelle URL 2022-08-07 21:30:36 +02:00
simple_open.cocci License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
stream_open.cocci stream_open related bits for Linux 5.3 2019-07-14 17:08:08 -07:00
vma_pages.cocci License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00