* [PATCH] scripts/checkpatch.pl: add ata_port_operations to the list of ops that ought to be const.
@ 2010-11-08 6:29 Lionel Debroux
2010-11-25 14:59 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Lionel Debroux @ 2010-11-08 6:29 UTC (permalink / raw)
To: kernel-janitors; +Cc: linux-kernel
Patch against mainline.
---
Subject: [PATCH] scripts/checkpatch.pl: add ata_port_operations to the list of ops that ought to be const.
I noticed that many ata_port_operations instances are constified
by the grsecurity patch, so it may be desirable to reduce the
introduction of non-const instances through checkpatch.pl.
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
---
scripts/checkpatch.pl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index e3c7fc0..33fab2e 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2810,6 +2810,7 @@ sub process {
# check for various ops structs, ensure they are const.
my $struct_ops = qr{acpi_dock_ops|
address_space_operations|
+ ata_port_operations|
backlight_ops|
block_device_operations|
dentry_operations|
--
1.7.3.2.161.g3089c
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] scripts/checkpatch.pl: add ata_port_operations to the list of ops that ought to be const.
2010-11-08 6:29 [PATCH] scripts/checkpatch.pl: add ata_port_operations to the list of ops that ought to be const Lionel Debroux
@ 2010-11-25 14:59 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2010-11-25 14:59 UTC (permalink / raw)
To: Lionel Debroux; +Cc: kernel-janitors, linux-kernel, Andy Whitcroft, Joe Perches
Added Andy and Joe to CC. Lionel, you should consult the MAINTAINERS
file and/or the get_maintainer.pl script and/or the git history to find
suitable addresses to CC.
Michal
On 8.11.2010 07:29, Lionel Debroux wrote:
> Patch against mainline.
>
> ---
>
> Subject: [PATCH] scripts/checkpatch.pl: add ata_port_operations to the list of ops that ought to be const.
>
> I noticed that many ata_port_operations instances are constified
> by the grsecurity patch, so it may be desirable to reduce the
> introduction of non-const instances through checkpatch.pl.
>
> Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
> ---
> scripts/checkpatch.pl | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index e3c7fc0..33fab2e 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -2810,6 +2810,7 @@ sub process {
> # check for various ops structs, ensure they are const.
> my $struct_ops = qr{acpi_dock_ops|
> address_space_operations|
> + ata_port_operations|
> backlight_ops|
> block_device_operations|
> dentry_operations|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-25 14:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 6:29 [PATCH] scripts/checkpatch.pl: add ata_port_operations to the list of ops that ought to be const Lionel Debroux
2010-11-25 14:59 ` Michal Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox