# git rev-parse -q --verify 0a924817d2ed9396401e0557c6134276d2e26382^{commit} 0a924817d2ed9396401e0557c6134276d2e26382 already have revision, skipping fetch # git checkout -q -f -B kisskb 0a924817d2ed9396401e0557c6134276d2e26382 # git clean -qxdf # < git log -1 # commit 0a924817d2ed9396401e0557c6134276d2e26382 # Merge: 6022ec6ee2c3 aacfc939cc42 # Author: Linus Torvalds # Date: Wed Dec 21 10:40:08 2022 -0800 # # Merge tag '6.2-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 # # Pull cifs fixes from Steve French: # "cifs/smb3 client fixes, mostly related to reconnect and/or DFS: # # - two important reconnect fixes: cases where status of recently # connected IPCs and shares were not being updated leaving them in an # incorrect state # # - fix for older Windows servers that would return # STATUS_OBJECT_NAME_INVALID to query info requests on DFS links in a # namespace that contained non-ASCII characters, reducing number of # wasted roundtrips. # # - fix for leaked -ENOMEM to userspace when cifs.ko couldn't perform # I/O due to a disconnected server, expired or deleted session. # # - removal of all unneeded DFS related mount option string parsing # (now using fs_context for automounts) # # - improve clarity/readability, moving various DFS related functions # out of fs/cifs/connect.c (which was getting too big to be readable) # to new file. # # - Fix problem when large number of DFS connections. Allow sharing of # DFS connections and fix how the referral paths are matched # # - Referral caching fix: Instead of looking up ipc connections to # refresh cached referrals, store direct dfs root server's IPC # pointer in new sessions so it can simply be accessed to either # refresh or create a new referral that such connections belong to. # # - Fix to allow dfs root server's connections to also failover # # - Optimized reconnect of nested DFS links # # - Set correct status of IPC connections marked for reconnect" # # * tag '6.2-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6: # cifs: update internal module number # cifs: don't leak -ENOMEM in smb2_open_file() # cifs: use origin fullpath for automounts # cifs: set correct status of tcon ipc when reconnecting # cifs: optimize reconnect of nested links # cifs: fix source pathname comparison of dfs supers # cifs: fix confusing debug message # cifs: don't block in dfs_cache_noreq_update_tgthint() # cifs: refresh root referrals # cifs: fix refresh of cached referrals # cifs: don't refresh cached referrals from unactive mounts # cifs: share dfs connections and supers # cifs: split out ses and tcon retrieval from mount_get_conns() # cifs: set resolved ip in sockaddr # cifs: remove unused smb3_fs_context::mount_options # cifs: get rid of mount options string parsing # cifs: use fs_context for automounts # cifs: reduce roundtrips on create/qinfo requests # cifs: set correct ipc status after initial tree connect # cifs: set correct tcon status after initial tree connect # < /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 0a924817d2ed9396401e0557c6134276d2e26382 # < 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:02:15.188980