Thread (15 messages) 15 messages, 11 authors, 2025-01-29

Re: Re: Re: [PATCH v2] treewide: const qualify ctl_tables where applicable

From: Matthew Wilcox <willy@infradead.org>
Date: 2025-01-27 15:42:48
Also in: bpf, dri-devel, intel-gfx, intel-xe, io-uring, kexec, keyrings, linux-arm-kernel, linux-crypto, linux-fsdevel, linux-hardening, linux-hyperv, linux-mm, linux-nfs, linux-raid, linux-rdma, linux-riscv, linux-s390, linux-scsi, linux-security-module, linux-serial, linux-trace-kernel, linux-xfs, lkml, netfs, ocfs2-devel, xen-devel

On Mon, Jan 27, 2025 at 04:55:58PM +0200, Jani Nikula wrote:
You could have static const within functions too. You get the rodata
protection and function local scope, best of both worlds?
timer_active is on the stack, so it can't be static const.

Does this really need to be cc'd to such a wide distribution list?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help