Re: [PATCH v12 1/3] lib: Introduce hierarchical per-cpu counters

From: Mathieu Desnoyers

Date: Sun Jan 11 2026 - 14:26:01 EST


On 2026-01-11 13:36, kernel test robot wrote:
Hi Mathieu,

kernel test robot noticed the following build errors:

All errors (new ones prefixed by >>):

In file included from init/main.c:107:
include/linux/percpu_counter_tree.h:230:13: error: incompatible pointer types passing 'atomic_long_t *' (aka 'atomic64_t *') to parameter of type 'atomic_t *' [-Werror,-Wincompatible-pointer-types]
230 | atomic_set(&counter->count, v);
| ^~~~~~~~~~~~~~~
include/linux/atomic/atomic-instrumented.h:65:22: note: passing argument to parameter 'v' here
65 | atomic_set(atomic_t *v, int i)
|

Will fix and send a v13.

Thanks,

Mathieu

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com