Re: [PATCH] cpumask: guard cpumask_of_node() macro argument
On Wed, May 27, 2020 at 03:46:08PM +0200, Arnd Bergmann wrote: > drivers/hwmon/amd_energy.c:195:15: error: invalid operands to binary > expression ('void' and 'int') > (channel - data->nr_cpus)); > ~^~~
[PATCH] cpumask: guard cpumask_of_node() macro argument
drivers/hwmon/amd_energy.c:195:15: error: invalid operands to binary expression ('void' and 'int') (channel - data->nr_cpus)); ~^ include/asm-generic/topology.h:51:42: note: expanded from macro