Arnd Bergmann
31f0b78bb4
include/asm-generic/topology.h: guard cpumask_of_node() macro argument
[ Upstream commit 4377748c7b5187c3342a60fa2ceb60c8a57a8488 ]
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: f0b848ce6f ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
2020-06-03 08:21:27 +02:00 |
| .. |
|
acpi
|
x86: ACPI: fix CPU hotplug deadlock
|
2020-04-23 10:36:38 +02:00 |
|
asm-generic
|
include/asm-generic/topology.h: guard cpumask_of_node() macro argument
|
2020-06-03 08:21:27 +02:00 |
|
clocksource
|
|
|
|
crypto
|
crypto: algif_skcipher - Use chunksize instead of blocksize
|
2020-01-17 19:48:46 +01:00 |
|
drm
|
drm/bridge: analogix_dp: Split bind() into probe() and real bind()
|
2020-05-10 10:31:22 +02:00 |
|
dt-bindings
|
clk: imx8mn: Fix incorrect clock defines
|
2020-03-18 07:17:55 +01:00 |
|
keys
|
KEYS: Don't write out to userspace while holding key semaphore
|
2020-04-23 10:36:45 +02:00 |
|
kvm
|
|
|
|
linux
|
mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
|
2020-06-03 08:21:26 +02:00 |
|
math-emu
|
|
|
|
media
|
media: rc: add keymap for Videostrong KII Pro
|
2020-04-17 10:49:59 +02:00 |
|
misc
|
|
|
|
net
|
net/tls: fix race condition causing kernel panic
|
2020-06-03 08:21:01 +02:00 |
|
pcmcia
|
|
|
|
ras
|
|
|
|
rdma
|
RDMA/core: Fix double destruction of uobject
|
2020-06-03 08:21:25 +02:00 |
|
scsi
|
scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
|
2020-02-28 17:22:25 +01:00 |
|
soc
|
|
|
|
sound
|
ALSA: hda: Manage concurrent reg access more properly
|
2020-05-27 17:46:37 +02:00 |
|
target
|
scsi: target: fix hang when multiple threads try to destroy the same iscsi session
|
2020-04-21 09:05:04 +02:00 |
|
trace
|
rxrpc: Trace discarded ACKs
|
2020-05-27 17:46:51 +02:00 |
|
uapi
|
dma-buf: Fix SET_NAME ioctl uapi
|
2020-05-06 08:15:01 +02:00 |
|
vdso
|
|
|
|
video
|
|
|
|
xen
|
|
|