Go to file
Phil Auld 09e9282b84 arch/topology: Fix variable naming to avoid shadowing
JIRA: https://issues.redhat.com/browse/RHEL-56494

commit e5bc44e47c531860be96ac615314b1ab23d5aa2b
Author: Vincent Guittot <vincent.guittot@linaro.org>
Date:   Thu Apr 25 09:37:09 2024 +0200

    arch/topology: Fix variable naming to avoid shadowing

    Using 'hw_pressure' for local variable name is confusing in regard to the
    per-CPU 'hw_pressure' variable that uses the same name:

      include/linux/arch_topology.h:DECLARE_PER_CPU(unsigned long, hw_pressure);

    ... which puts it into a global scope for all code that includes
    <linux/topology.h>, shadowing the local variable.

    Rename it to avoid compiler confusion & Sparse warnings.

    [ mingo: Expanded the changelog. ]

    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
    Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
    Acked-by: Sudeep Holla <sudeep.holla@arm.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Link: https://lore.kernel.org/r/20240425073709.379016-1-vincent.guittot@linaro.org
    Closes: https://lore.kernel.org/oe-kbuild-all/202404250740.VhQQoD7N-lkp@intel.com/
    Fixes: d4dbc991714e ("sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure()")
    Tested-by: Konrad Dybcio <konrad.dybcio@linaro.org> # QC SM8550 QRD

Signed-off-by: Phil Auld <pauld@redhat.com>
2024-09-23 13:33:02 -04:00
Documentation sched/pelt: Remove shift of thermal clock 2024-09-23 13:33:02 -04:00
LICENSES
arch sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure() 2024-09-23 13:33:02 -04:00
block Merge: CVE-2024-42294: block: fix deadlock between sd_remove &#38; sd_release 2024-09-11 07:52:53 +00:00
certs integrity: PowerVM support for loading third party code signing keys 2024-02-05 19:05:32 +08:00
crypto crypto: pcrypt - Fix hungtask for PADATA_RESET 2024-05-29 13:20:49 +08:00
drivers arch/topology: Fix variable naming to avoid shadowing 2024-09-23 13:33:02 -04:00
fs Merge: pipe: wakeup wr_wait after setting max_usage 2024-09-18 14:45:35 +02:00
include sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure() 2024-09-23 13:33:02 -04:00
init sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure() 2024-09-23 13:33:02 -04:00
io_uring io_uring/sqpoll: work around a potential audit memory leak 2024-07-26 17:07:19 -04:00
ipc Merge: ipc/msg: mitigate the lock contention in ipc/msg 2024-05-16 13:29:40 +00:00
kernel sched/pelt: Remove shift of thermal clock 2024-09-23 13:33:02 -04:00
lib sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernels 2024-09-20 04:38:47 -04:00
mm base/node / acpi: Change 'node_hmem_attrs' to 'access_coordinates' 2024-08-22 11:21:54 -04:00
net Merge: CNB96: ipv4: Set scope explicitly in ip_route_output() 2024-09-18 14:45:37 +02:00
redhat [redhat] kernel-5.14.0-511.el9 2024-09-18 12:46:36 +00:00
samples samples/bpf: Use %lu format specifier for unsigned long values 2024-06-25 11:07:33 +02:00
scripts Merge: net: Optimize cacheline consumption of core networking structs 2024-08-07 16:49:46 +00:00
security task_work: s/task_work_cancel()/task_work_cancel_func()/ 2024-09-04 14:25:56 +02:00
sound Merge: CVE-2024-42278: ASoC: TAS2781: Fix tasdev_load_calibrated_data() 2024-09-11 07:15:26 +00:00
tools Merge tag 'kernel-5.14.0-503.3.1.el9_5' into merge-up-kernel-5.14.0-503.3.1.el9_5 2024-09-13 11:14:11 -03:00
usr kexec.h: add linux/kexec.h to UAPI compile-test coverage 2024-05-15 13:58:51 +08:00
virt KVM: guest_memfd: let kvm_gmem_populate() operate only on private gfns 2024-08-09 19:18:09 +02:00
.clang-format printk: Prepare for SRCU console list protection 2024-05-09 11:25:16 -04:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore redhat: rhdocs: delete .get_maintainer.conf 2024-06-06 09:36:57 -04:00
.gitlab-ci.yml redhat: set defaults for RHEL 9.5 2024-09-02 17:30:00 +00:00
.mailmap
COPYING
CREDITS MAINTAINERS: Drop Gustavo Pimentel as PCI DWC Maintainer 2024-05-13 15:56:48 -06:00
Kbuild
Kconfig
Kconfig.redhat redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option 2024-01-12 14:27:16 +01:00
MAINTAINERS Merge: Update ACPI to match v6.10 2024-09-18 14:45:36 +02:00
Makefile Merge: Update MM Selftests for 9.5 2024-08-21 12:51:18 +00:00
Makefile.rhelver [redhat] kernel-5.14.0-511.el9 2024-09-18 12:46:36 +00:00
README
makefile

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.