[usb:usb-next 27/67] drivers/phy/realtek/phy-rtk-usb3.c:349: undefined reference to `usb_debug_root'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next
head:   ba0b3af706305e5b11fd832eecd2c4a7fce57156
commit: adda6e82a7de7d6d478f6c8ef127f0ac51c510a1 [27/67] phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY
config: openrisc-randconfig-r005-20230728 (https://download.01.org/0day-ci/archive/20230729/202307291022.3pVeTR9z-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230729/202307291022.3pVeTR9z-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/202307291022.3pVeTR9z-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   or1k-linux-ld: drivers/phy/realtek/phy-rtk-usb2.o: in function `create_phy_debug_root':
   drivers/phy/realtek/phy-rtk-usb2.c:715: undefined reference to `usb_debug_root'
   or1k-linux-ld: drivers/phy/realtek/phy-rtk-usb2.c:715: undefined reference to `usb_debug_root'
   or1k-linux-ld: drivers/phy/realtek/phy-rtk-usb2.c:717: undefined reference to `usb_debug_root'
   or1k-linux-ld: drivers/phy/realtek/phy-rtk-usb3.o: in function `create_phy_debug_root':
>> drivers/phy/realtek/phy-rtk-usb3.c:349: undefined reference to `usb_debug_root'
>> or1k-linux-ld: drivers/phy/realtek/phy-rtk-usb3.c:349: undefined reference to `usb_debug_root'
   or1k-linux-ld: drivers/phy/realtek/phy-rtk-usb3.o:drivers/phy/realtek/phy-rtk-usb3.c:351: more undefined references to `usb_debug_root' follow
   pahole: .tmp_vmlinux.btf: Invalid argument
   .btf.vmlinux.bin.o: file not recognized: file format not recognized


vim +349 drivers/phy/realtek/phy-rtk-usb3.c

   343	
   344	#ifdef CONFIG_DEBUG_FS
   345	static struct dentry *create_phy_debug_root(void)
   346	{
   347		struct dentry *phy_debug_root;
   348	
 > 349		phy_debug_root = debugfs_lookup("phy", usb_debug_root);
   350		if (!phy_debug_root)
   351			phy_debug_root = debugfs_create_dir("phy", usb_debug_root);
   352	
   353		return phy_debug_root;
   354	}
   355	

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux