[viro-vfs:work.debugfs 20/20] drivers/net/bonding/bond_debugfs.c:66:2: error: use of undeclared identifier 'err'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.debugfs
head:   b41a25033d7a1783290826fb565d082a0c7a55c4
commit: b41a25033d7a1783290826fb565d082a0c7a55c4 [20/20] saner replacement for debugfs_rename()
config: s390-randconfig-001-20241229 (https://download.01.org/0day-ci/archive/20241229/202412291628.UQQUijmc-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241229/202412291628.UQQUijmc-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/202412291628.UQQUijmc-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/net/bonding/bond_debugfs.c:66:2: error: use of undeclared identifier 'err'
      66 |         err = debugfs_change_name(bond->debug_dir, "%s", bond->dev->name);
         |         ^
   drivers/net/bonding/bond_debugfs.c:67:6: error: use of undeclared identifier 'err'
      67 |         if (err) {
         |             ^
   2 errors generated.


vim +/err +66 drivers/net/bonding/bond_debugfs.c

    63	
    64	void bond_debug_reregister(struct bonding *bond)
    65	{
  > 66		err = debugfs_change_name(bond->debug_dir, "%s", bond->dev->name);
    67		if (err) {
    68			netdev_warn(bond->dev, "failed to reregister, so just unregister old one\n");
    69			bond_debug_unregister(bond);
    70		}
    71	}
    72	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux