# git rev-parse -q --verify c17414a273b81fe4e34e11d69fc30cc8b1431614^{commit} c17414a273b81fe4e34e11d69fc30cc8b1431614 already have revision, skipping fetch # git checkout -q -f -B kisskb c17414a273b81fe4e34e11d69fc30cc8b1431614 # git clean -qxdf # < git log -1 # commit c17414a273b81fe4e34e11d69fc30cc8b1431614 # Merge: 7afb9d76bc51 7497840d462c # Author: Linus Torvalds # Date: Wed Jul 5 21:45:32 2023 -0700 # # Merge tag 'sh-for-v6.5-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux # # Pull sh updates from Adrian Glaubitz: # "Fix a compiler warning in the J2 probing code and a fix by Sergey # Shtylyov to avoid using IRQ0 on SH3 and SH4 targets. Masahiro Yamada # made some clean-up in the build system to address reports by the 0day # bot. # # The most notable changes come from Artur Rojek who addressed a number # of issues in the DMA code, in particular a fix for the DMA channel # offset calculation that was introduced in in 7f47c7189b3e ("sh: dma: # More legacy cpu dma chainsawing.") in 2012! # # Together with another change to correct the number of DMA channels for # each SuperH SoC according to specification, Artur's series unbreaks # the kernel on the SH7709 SoC allowing Linux to boot on the HP Jornada # 680 handheld again. # # Summary: # # - Provide unxlate_dev_mem_ptr() in asm/io.h # # - dma: Correct the number of DMA channels for SH7709 # # - dma: Drop incorrect SH_DMAC_BASE1 definition for SH4 # # - dma: Fix DMA channel offset calculation # # - Remove compiler flag duplication # # - Refactor header include path addition # # - Move build rule for cchips/hd6446x/ to arch/sh/Kbuild # # - Fix -Wmissing-include-dirs warnings for various platforms # # - Avoid using IRQ0 on SH3 and SH4 # # - j2: Use ioremap() to translate device tree address into kernel # memory" # # * tag 'sh-for-v6.5-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux: # sh: Provide unxlate_dev_mem_ptr() in asm/io.h # sh: dma: Correct the number of DMA channels for SH7709 # sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4 # sh: dma: Fix DMA channel offset calculation # sh: Remove compiler flag duplication # sh: Refactor header include path addition # sh: Move build rule for cchips/hd6446x/ to arch/sh/Kbuild # sh: Fix -Wmissing-include-dirs warnings for various platforms # sh: Avoid using IRQ0 on SH3 and SH4 # sh: j2: Use ioremap() to translate device tree address into kernel memory # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 c17414a273b81fe4e34e11d69fc30cc8b1431614 # make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:545, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:32: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:990:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/printk.h:455:26: note: in expansion of macro 'printk_index_wrap' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:990:3: note: in expansion of macro 'printk' printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:01:30.733343