# git rev-parse -q --verify bff687b3dad6e0e56b27f4d3ed8a9695f35c7b1a^{commit} bff687b3dad6e0e56b27f4d3ed8a9695f35c7b1a already have revision, skipping fetch # git checkout -q -f -B kisskb bff687b3dad6e0e56b27f4d3ed8a9695f35c7b1a # git clean -qxdf # < git log -1 # commit bff687b3dad6e0e56b27f4d3ed8a9695f35c7b1a # Merge: ac787ffa5a24 1551ed5a178c # Author: Linus Torvalds # Date: Thu Dec 29 16:57:29 2022 -0800 # # Merge tag 'block-6.2-2022-12-29' of git://git.kernel.dk/linux # # Pull block fixes from Jens Axboe: # "Mostly just NVMe, but also a single fixup for BFQ for a regression # that happened during the merge window. In detail: # # - NVMe pull requests via Christoph: # - Fix doorbell buffer value endianness (Klaus Jensen) # - Fix Linux vs NVMe page size mismatch (Keith Busch) # - Fix a potential use memory access beyong the allocation limit # (Keith Busch) # - Fix a multipath vs blktrace NULL pointer dereference (Yanjun # Zhang) # - Fix various problems in handling the Command Supported and # Effects log (Christoph Hellwig) # - Don't allow unprivileged passthrough of commands that don't # transfer data but modify logical block content (Christoph # Hellwig) # - Add a features and quirks policy document (Christoph Hellwig) # - Fix some really nasty code that was correct but made smatch # complain (Sagi Grimberg) # # - Use-after-free regression in BFQ from this merge window (Yu)" # # * tag 'block-6.2-2022-12-29' of git://git.kernel.dk/linux: # nvme-auth: fix smatch warning complaints # nvme: consult the CSE log page for unprivileged passthrough # nvme: also return I/O command effects from nvme_command_effects # nvmet: don't defer passthrough commands with trivial effects to the workqueue # nvmet: set the LBCC bit for commands that modify data # nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it # nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition # docs, nvme: add a feature and quirk policy document # nvme-pci: update sqsize when adjusting the queue depth # nvme: fix setting the queue depth in nvme_alloc_io_tag_set # block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq # nvme: fix multipath crash caused by flush request when blktrace is enabled # nvme-pci: fix page size checks # nvme-pci: fix mempool alloc size # nvme-pci: fix doorbell buffer value endianness # < /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 bff687b3dad6e0e56b27f4d3ed8a9695f35c7b1a # < make -s -j 160 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 160 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 160 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 160 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:48:25: warning: '__builtin_memset' offset [0, 11] is out of the bounds [0, 0] [-Warray-bounds] 48 | #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: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: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:457:26: note: in expansion of macro 'printk_index_wrap' 457 | #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:01:50.312159