From: Niklas Cassel <cassel@kernel.org>
To: Damien Le Moal <dlemoal@kernel.org>,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-ide@vger.kernel.org
Subject: Re: [PATCH] ata: Constify struct pci_device_id
Date: Tue, 03 Dec 2024 05:16:57 +0100 [thread overview]
Message-ID: <173319941712.503679.15596945650956791315.b4-ty@kernel.org> (raw)
In-Reply-To: <8bddfee7f6f0f90eeb6da7156e30ab3bd553deb1.1731704917.git.christophe.jaillet@wanadoo.fr>
On Fri, 15 Nov 2024 22:08:55 +0100, Christophe JAILLET wrote:
> 'struct pci_device_id' is not modified in these drivers.
>
> Constifying this structure moves some data to a read-only section, so
> increase overall security.
>
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
> text data bss dec hex filename
> 4245 1454 4 5703 1647 drivers/ata/ata_generic.o
>
> [...]
Applied to libata/linux.git (for-6.14), thanks!
[1/1] ata: Constify struct pci_device_id
https://git.kernel.org/libata/linux/c/9986ce65
Kind regards,
Niklas
prev parent reply other threads:[~2024-12-03 4:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 21:08 [PATCH] ata: Constify struct pci_device_id Christophe JAILLET
2024-11-17 13:04 ` Sergey Shtylyov
2024-11-18 11:42 ` Niklas Cassel
2024-12-03 4:16 ` Niklas Cassel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173319941712.503679.15596945650956791315.b4-ty@kernel.org \
--to=cassel@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=dlemoal@kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox