https://github.com/torvalds/linux
Revision 4377748c7b5187c3342a60fa2ceb60c8a57a8488 authored by Arnd Bergmann on 28 May 2020, 05:20:55 UTC, committed by Linus Torvalds on 28 May 2020, 18:35:41 UTC
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 'cpumask_of_node'
    #define cpumask_of_node(node)       ((void)node, cpu_online_mask)
                                               ^~~~
include/linux/cpumask.h:618:72: note: expanded from macro 'cpumask_first_and'
 #define cpumask_first_and(src1p, src2p) cpumask_next_and(-1, (src1p), (src2p))
                                                                       ^~~~~

Fixes: f0b848ce6fe9 ("cpumask: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask")
Fixes: 8abee9566b7e ("hwmon: Add amd_energy driver to report energy counters")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: http://lkml.kernel.org/r/20200527134623.930247-1-arnd@arndb.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 1d60541
History
Tip revision: 4377748c7b5187c3342a60fa2ceb60c8a57a8488 authored by Arnd Bergmann on 28 May 2020, 05:20:55 UTC
include/asm-generic/topology.h: guard cpumask_of_node() macro argument
Tip revision: 4377748
File Mode Size
firmware_loader
power
regmap
test
Kconfig -rw-r--r-- 6.9 KB
Makefile -rw-r--r-- 955 bytes
arch_topology.c -rw-r--r-- 13.3 KB
attribute_container.c -rw-r--r-- 14.4 KB
base.h -rw-r--r-- 7.1 KB
bus.c -rw-r--r-- 30.2 KB
cacheinfo.c -rw-r--r-- 17.1 KB
class.c -rw-r--r-- 14.8 KB
component.c -rw-r--r-- 20.6 KB
container.c -rw-r--r-- 814 bytes
core.c -rw-r--r-- 106.1 KB
cpu.c -rw-r--r-- 14.7 KB
dd.c -rw-r--r-- 32.3 KB
devcon.c -rw-r--r-- 5.8 KB
devcoredump.c -rw-r--r-- 9.2 KB
devres.c -rw-r--r-- 27.7 KB
devtmpfs.c -rw-r--r-- 9.5 KB
driver.c -rw-r--r-- 5.8 KB
firmware.c -rw-r--r-- 606 bytes
hypervisor.c -rw-r--r-- 536 bytes
init.c -rw-r--r-- 768 bytes
isa.c -rw-r--r-- 3.8 KB
map.c -rw-r--r-- 3.3 KB
memory.c -rw-r--r-- 20.0 KB
module.c -rw-r--r-- 2.0 KB
node.c -rw-r--r-- 26.7 KB
pinctrl.c -rw-r--r-- 2.7 KB
platform-msi.c -rw-r--r-- 10.6 KB
platform.c -rw-r--r-- 34.2 KB
property.c -rw-r--r-- 37.7 KB
soc.c -rw-r--r-- 6.8 KB
swnode.c -rw-r--r-- 18.9 KB
syscore.c -rw-r--r-- 3.2 KB
topology.c -rw-r--r-- 3.9 KB
transport_class.c -rw-r--r-- 9.5 KB

back to top