Fixed with this change and repushed to for-next diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c index b66d8b03a389..89d9f86cc29a 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -3686,6 +3686,7 @@ int cifs_mount(struct cifs_sb_info *cifs_sb, struct smb3_fs_context *ctx) } #endif +#ifdef CONFIG_CIFS_ALLOW_INSECURE_LEGACY /* * Issue a TREE_CONNECT request. */ @@ -3825,6 +3826,7 @@ CIFSTCon(const unsigned int xid, struct cifs_ses *ses, cifs_buf_release(smb_buffer); return rc; } +#endif /* CONFIG_CIFS_ALLOW_INSECURE_LEGACY */ static void delayed_free(struct rcu_head *p) { On Tue, Jul 23, 2024 at 5:37 PM kernel test robot <lkp@xxxxxxxxx> wrote: > > tree: git://git.samba.org/sfrench/cifs-2.6.git for-next > head: dde12e91303b6d38322ed69801ce3129aba82ad5 > commit: 2a9b3eb1b0838cc99aafdc50e37138538d4593bb [2/3] cifs: fix reconnect with SMB1 UNIX Extensions > config: x86_64-randconfig-101-20240723 (https://download.01.org/0day-ci/archive/20240724/202407240638.kjmPxwJV-lkp@xxxxxxxxx/config) > compiler: gcc-10 (Ubuntu 10.5.0-1ubuntu1) 10.5.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240724/202407240638.kjmPxwJV-lkp@xxxxxxxxx/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > | Closes: https://lore.kernel.org/oe-kbuild-all/202407240638.kjmPxwJV-lkp@xxxxxxxxx/ > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o > WARNING: modpost: missing MODULE_DESCRIPTION() in mm/dmapool_test.o > WARNING: modpost: missing MODULE_DESCRIPTION() in mm/zsmalloc.o > WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8-selftest.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/math/rational.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/find_bit_benchmark.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_dhry.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_firmware.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_sysctl.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_ida.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test-kstrtox.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_min_heap.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_module.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_static_keys.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_static_key_base.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_printf.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_scanf.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bitmap.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_xarray.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_maple_tree.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_kmod.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_memcat_p.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_blackhole_dev.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_meminit.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_free_pages.o > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/atomic64_test.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dma/qcom/hdma.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/core/cxl_core.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pci.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_mem.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_pmem.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cxl/cxl_port.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/pcmcia_rsrc.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/yenta_socket.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/bytestream-example.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/dma-example.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/inttype-example.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/record-example.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kobject/kobject-example.o > WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kobject/kset-example.o > >> ERROR: modpost: "reset_cifs_unix_caps" [fs/smb/client/cifs.ko] undefined! > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki > -- Thanks, Steve