[GIT PULL] sh updates for v6.6

From: John Paul Adrian Glaubitz
Date: Sat Sep 09 2023 - 16:31:03 EST


Hi Linus!

I am very late this merge window since I was rather busy the past month but
as there are only two small fixes in this pull request, I hope you are still
willing to pull the sh changes for v6.6.

The first patch by Duoming Zhou fixes a use-after-free bug in the push-switch
driver while the second one by Petr Tesarik addresses an issue where the call
to dma_declare_coherent_memory() incorrectly passes the buffer end address
instead of the buffer size as the size parameter.

I expect the pull request for v6.7 much larger since we're currently working
on converting arch/sh to using device trees for which the patches have now
been posted on the linux-sh mailing list.

The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:

Linux 6.5-rc2 (2023-07-16 15:10:37 -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.6-tag1

for you to fetch changes up to 246f80a0b17f8f582b2c0996db02998239057c65:

sh: push-switch: Reorder cleanup operations to avoid use-after-free bug (2023-09-09 21:54:20 +0200)

Thanks for pulling!

Adrian

----------------------------------------------------------------
sh updates for v6.6

- sh: push-switch: Reorder cleanup operations to avoid use-after-free bug
- sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()

----------------------------------------------------------------
Duoming Zhou (1):
sh: push-switch: Reorder cleanup operations to avoid use-after-free bug

Petr Tesarik (1):
sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()

arch/sh/boards/mach-ap325rxa/setup.c | 2 +-
arch/sh/boards/mach-ecovec24/setup.c | 6 ++----
arch/sh/boards/mach-kfr2r09/setup.c | 2 +-
arch/sh/boards/mach-migor/setup.c | 2 +-
arch/sh/boards/mach-se/7724/setup.c | 6 ++----
arch/sh/drivers/push-switch.c | 2 +-
6 files changed, 8 insertions(+), 12 deletions(-)

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913