[usb:usb-next 26/67] drivers/phy/realtek/phy-rtk-usb2.c:715: 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: 134e6d25f6bd06071e5aac0a7eefcea6f7713955 [26/67] phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY
config: openrisc-randconfig-r005-20230728 (https://download.01.org/0day-ci/archive/20230729/202307290733.weSlHrGp-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230729/202307290733.weSlHrGp-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/202307290733.weSlHrGp-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'
   pahole: .tmp_vmlinux.btf: Invalid argument
   .btf.vmlinux.bin.o: file not recognized: file format not recognized


vim +715 drivers/phy/realtek/phy-rtk-usb2.c

   709	
   710	#ifdef CONFIG_DEBUG_FS
   711	static struct dentry *create_phy_debug_root(void)
   712	{
   713		struct dentry *phy_debug_root;
   714	
 > 715		phy_debug_root = debugfs_lookup("phy", usb_debug_root);
   716		if (!phy_debug_root)
   717			phy_debug_root = debugfs_create_dir("phy", usb_debug_root);
   718	
   719		return phy_debug_root;
   720	}
   721	

-- 
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