# git rev-parse -q --verify 74cae210a335d159f2eb822e261adee905b6951a^{commit} 74cae210a335d159f2eb822e261adee905b6951a already have revision, skipping fetch # git checkout -q -f -B kisskb 74cae210a335d159f2eb822e261adee905b6951a # git clean -qxdf # < git log -1 # commit 74cae210a335d159f2eb822e261adee905b6951a # Merge: 79b7e67bb974 7ec4cdb32173 # Author: Linus Torvalds # Date: Fri Aug 5 14:13:45 2022 -0700 # # Merge tag 'mtd/for-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux # # Pull MTD updates from Richard Weinberger: # "MTD core changes: # # - Dynamic partition support # # - Fix deadlock in sm_ftl # # - Various refcount fixes in maps, partitions and parser code # # - Integer overflow fixes in mtdchar # # - Support for Sercomm partitions # # NAND driver changes: # # - Clockrate fix for arasan # # - Add ATO25D1GA support # # - Double free fix for meson driver # # - Fix probe/remove methods in cafe NAND # # - Support unprotected spare data pages in qcom_nandc # # SPI NOR core changes: # # - move SECT_4K_PMC flag out of the core as it's a vendor specific # flag # # - s/addr_width/addr_nbytes/g: address width means the number of IO # lines used for the address, whereas in the code it is used as the # number of address bytes. # # - do not change nor->addr_nbytes at SFDP parsing time. At the SFDP # parsing time we should not change members of struct spi_nor, but # instead fill members of struct spi_nor_flash_parameters which could # later on be used by the callers. # # - track flash's internal address mode so that we can use 4B opcodes # together with opcodes that don't have a 4B opcode correspondent. # # SPI NOR manufacturer drivers changes: # # - esmt: Rename "f25l32qa" flash name to "f25l32qa-2s". # # - micron-st: Skip FSR reading if SPI controller does not support it # to allow flashes that support FSR to work even when attached to # such SPI controllers. # # - spansion: Add s25hl-t/s25hs-t IDs and fixups" # # * tag 'mtd/for-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (53 commits) # mtd: core: check partition before dereference # mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chip}() # mtd: spi-nor: spansion: Add s25hl-t/s25hs-t IDs and fixups # mtd: spi-nor: spansion: Add local function to discover page size # mtd: spi-nor: core: Track flash's internal address mode # mtd: spi-nor: core: Return error code from set_4byte_addr_mode() # mtd: spi-nor: Do not change nor->addr_nbytes at SFDP parsing time # mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytes # mtd: spi-nor: s/addr_width/addr_nbytes # mtd: spi-nor: esmt: Use correct name of f25l32qa # mtd: spi-nor: micron-st: Skip FSR reading if SPI controller does not support it # MAINTAINERS: Use my kernel.org email # mtd: rawnand: arasan: Fix clock rate in NV-DDR # mtd: rawnand: arasan: Update NAND bus clock instead of system clock # mtd: core: introduce of support for dynamic partitions # dt-bindings: mtd: partitions: add additional example for qcom,smem-part # dt-bindings: mtd: partitions: support label/name only partition # mtd: spi-nor: move SECT_4K_PMC special handling # mtd: dataflash: Add SPI ID table # mtd: hyperbus: rpc-if: Fix RPM imbalance in probe error path # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 74cae210a335d159f2eb822e261adee905b6951a # < make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 120 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/string.h:20, from /kisskb/src/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/mm_types_task.h:14, from /kisskb/src/include/linux/mm_types.h:5, from /kisskb/src/include/linux/buildid.h:5, from /kisskb/src/include/linux/module.h:14, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:32: In function 'check586', inlined from 'sun3_82586_probe1' at /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:365:6, inlined from 'sun3_82586_probe' at /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:311:8: /kisskb/src/arch/m68k/include/asm/string.h:68:25: warning: '__builtin_memset' offset [0, 11] is out of the bounds [0, 0] [-Warray-bounds] 68 | #define memset(d, c, n) __builtin_memset(d, c, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:218:9: note: in expansion of macro 'memset' 218 | memset((char *)p->scp,0, sizeof(struct scp_struct)); | ^~~~~~ 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:529, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:31: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:122: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] 989 | 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:19: note: in definition of macro '__swab16' 107 | __fswab16(x)) | ^ /kisskb/src/include/linux/printk.h:464:26: note: in expansion of macro 'printk_index_wrap' 464 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:17: note: in expansion of macro 'printk' 989 | 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/drivers/net/ethernet/i825xx/sun3_82586.c:155:46: note: while referencing 'xmit_cmds' 155 | volatile struct transmit_cmd_struct *xmit_cmds[NUM_XMIT_BUFFS]; | ^~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc11 # Build took: 0:00:43.249014