aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-05-28 05:20:55 +0000
committerLinus Torvalds <[email protected]>2020-05-28 18:35:41 +0000
commit4377748c7b5187c3342a60fa2ceb60c8a57a8488 (patch)
tree0be6f249f270aebfc13125cf0c09294706a8e63e /scripts/mod/file2alias.c
parentfs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info() (diff)
downloadkernel-4377748c7b5187c3342a60fa2ceb60c8a57a8488.tar.gz
kernel-4377748c7b5187c3342a60fa2ceb60c8a57a8488.zip
include/asm-generic/topology.h: 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 '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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Guenter Roeck <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions