[GIT PULL] sh updates for v6.13

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <d1daf444a9699b2677f9ae9f8d7e675aaeb3d340.camel@physik.fu-berlin.de>
Hi Linus,

here is my round of updates for v6.13. I'm super late this time as I have been
busy with work the past weeks, but I nevertheless managed to review and apply
two small fixes.

The first one by Huacai Chen addresses a runtime warning when CONFIG_CPUMASK_OFFSTACK
and CONFIG_DEBUG_PER_CPU_MAPS are selected which occurs because the cpuinfo code on
sh incorrectly uses NR_CPUS when iterating CPUs instead of the runtime limit nr_cpu_ids.

A second fix by Dan Carpenter fixes a use-after-free bug in register_intc_controller()
which occurred as a result of improper error handling in the interrupt controller driver
code when registering an interrupt controller during plat_irq_setup() on sh.

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

  Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git tags/sh-for-v6.13-tag1

for you to fetch changes up to 63e72e551942642c48456a4134975136cdcb9b3c:

  sh: intc: Fix use-after-free bug in register_intc_controller() (2024-11-30 13:55:11 +0100)

Thanks for pulling!

Adrian

----------------------------------------------------------------
sh updates for v6.13

- sh: intc: Fix use-after-free bug in register_intc_controller()
- sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

----------------------------------------------------------------
Dan Carpenter (1):
      sh: intc: Fix use-after-free bug in register_intc_controller()

Huacai Chen (1):
      sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

 arch/sh/kernel/cpu/proc.c | 2 +-
 drivers/sh/intc/core.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.