Re: [PATCH] RDMA/cma: Constify struct configfs_item_operations and configfs_group_operations
Leon Romanovsky <[email protected]>
| Newsgroups | org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rdma |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 16 May 2026 11:17:47 +0200, Christophe JAILLET wrote:
> 'struct configfs_item_operations' and 'configfs_group_operations' are not
> modified in this driver.
>
> Constifying these structures moves some data to a read-only section, so
> increases overall security, especially when the structure holds some
> function pointers.
>
> [...]
Applied, thanks!
[1/1] RDMA/cma: Constify struct configfs_item_operations and configfs_group_operations
https://git.kernel.org/rdma/rdma/c/7b2e9a338a5875
Best regards,
--
Leon Romanovsky <[email protected]>