Go to file
Arnd Bergmann edfdae78eb include/asm-generic/topology.h: guard cpumask_of_node() macro argument
BugLink: https://bugs.launchpad.net/bugs/1881927

[ Upstream commit 4377748c7b ]

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: 8abee9566b ("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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
2020-06-22 17:23:33 -03:00
Documentation s390/pci: Documentation for zPCI 2020-06-22 17:21:13 -03:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
arch ARM: dts: bcm: HR2: Fix PPI interrupt types 2020-06-22 17:23:25 -03:00
block iocost: protect iocg->abs_vdebt with iocg->waitq.lock 2020-05-25 10:42:49 +02:00
certs certs: Add wrapper function to check blacklisted binary hash 2020-04-06 13:47:55 -05:00
crypto gcc-10: avoid shadowing standard library 'free()' in crypto 2020-06-22 17:22:01 -03:00
debian dkms-build: apt-cache policy elides username:password information 2020-06-19 11:55:43 +02:00
debian.master UBUNTU: upstream stable to v5.4.43 2020-06-22 17:22:56 -03:00
drivers IB/ipoib: Fix double free of skb in case of multicast traffic in CM mode 2020-06-22 17:23:31 -03:00
fs fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info() 2020-06-22 17:23:32 -03:00
include include/asm-generic/topology.h: guard cpumask_of_node() macro argument 2020-06-22 17:23:33 -03:00
init x86: Fix early boot crash on gcc-10, third try 2020-06-22 17:22:07 -03:00
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2020-06-22 17:21:43 -03:00
kernel sched/fair: Fix enqueue_task_fair() warning some more 2020-06-22 17:22:55 -03:00
lib vsprintf: don't obfuscate NULL and error pointers 2020-06-22 17:22:42 -03:00
mm mm,thp: stop leaking unreleased file pages 2020-06-22 17:23:32 -03:00
net libceph: ignore pool overlay and cache logic on redirects 2020-06-22 17:23:30 -03:00
samples samples: bpf: Fix build error 2020-06-22 17:23:17 -03:00
scripts kbuild: Remove debug info from kallsyms linking 2020-06-22 17:22:44 -03:00
security exec: Always set cap_ambient in cap_bprm_set_creds 2020-06-22 17:23:28 -03:00
sound ALSA: hda/realtek - Add new codec supported for ALC287 2020-06-22 17:23:29 -03:00
tools KVM: selftests: Fix build for evmcs.h 2020-06-22 17:22:34 -03:00
ubuntu UBUNTU: hio -- remove duplicated MODULE_DEVICE_TABLE declaration 2020-03-18 12:02:49 +01:00
usr initramfs: restore default compression behavior 2020-04-29 16:25:32 +02:00
virt KVM: arm: vgic: Synchronize the whole guest on GIC{D,R}_I{S,C}ACTIVER read 2020-06-22 17:21:28 -03:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes
.gitignore UBUNTU: [debian] Initial debian and ubuntu directories 2019-11-25 14:56:22 +01:00
.mailmap ARM: SoC fixes 2019-11-10 13:41:59 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2019-08-21 21:03:58 +09:00
Kconfig UBUNTU: [debian] Initial debian and ubuntu directories 2019-11-25 14:56:22 +01:00
MAINTAINERS s390/pci: Documentation for zPCI 2020-06-22 17:21:13 -03:00
Makefile Linux 5.4.43 2020-06-22 17:22:55 -03:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
dropped.txt UBUNTU: [debian] Initial debian and ubuntu directories 2019-11-25 14:56:22 +01:00
snapcraft.yaml UBUNTU: [debian] Initial debian and ubuntu directories 2019-11-25 14:56:22 +01:00
update-version-dkms UBUNTU: [Packaging] Add BugLink to update-version-dkms commit 2020-03-20 17:27:55 -05:00

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.