Thread (2 messages) flat view 2 messages, 2 authors, 2021-06-01

Re: [PATCH] md: Constify attribute_group structs

From: Song Liu <song@kernel.org>
Date: 2021-06-01 04:26:17
Also in: lkml

On Sat, May 29, 2021 at 3:30 AM Rikard Falkeborn
[off-list ref] wrote:
The attribute_group structs are never modified, they're only passed to
sysfs_create_group() and sysfs_remove_group(). Make them const to allow
the compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <redacted>
Applied to md-next. Thanks!
Song
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help