Re: [RFC PATCH 1/3] arm64: add CPU prefetch and cache modulation sysfs interface

Breno Leitao <[email protected]>
Newsgroups org.kernel.vger.linux-doc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Mon, Aug 17, 2026 at 10:23:33AM +0800, KobaK wrote:
> +static void cpumod_attr_read_remote(void *info)
> +{
> +	struct cpumod_attr_call *call = info;
> +	u64 *value = cpumod_attr_value_ptr(call->subsys, call->attr);
> +
> +	*value = cpumod_attr_read_reg(call->attr);
> +}

Why do you need value in this case? Also, isn't cpumod_attr_read_reg()
anmd returning to a variable that is never read?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.