mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
Avoid warning:
[ 0.366122] sysfs: cannot create duplicate filename '/class/extcon/usb2-phy'
[ 0.366821] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.19.154 #120
[ 0.367385] Hardware name: Rockchip RK3566 EVB1 DDR4 V10 Board (DT)
[ 0.367945] Call trace:
[ 0.368186] dump_backtrace+0x0/0x15c
[ 0.368520] show_stack+0x14/0x1c
[ 0.368830] dump_stack+0xb8/0xf0
[ 0.369139] sysfs_warn_dup+0x68/0x80
[ 0.369469] sysfs_do_create_link_sd+0x90/0xc8
[ 0.369870] sysfs_create_link+0x2c/0x40
[ 0.370227] extcon_dev_register+0x5a4/0x6fc
[ 0.370614] devm_extcon_dev_register+0x44/0x84
[ 0.371030] rockchip_usb2phy_probe+0x26c/0xba4
[ 0.371444] platform_drv_probe+0x7c/0xb4
[ 0.371813] really_probe+0x488/0x520
[ 0.372145] driver_probe_device+0x60/0xf8
[ 0.372520] device_driver_attach+0x68/0xa4
[ 0.372896] __driver_attach+0xc0/0x13c
[ 0.373249] bus_for_each_dev+0x78/0xc0
[ 0.373601] driver_attach+0x20/0x28
[ 0.373930] bus_add_driver+0xfc/0x1dc
[ 0.374271] driver_register+0x74/0x108
[ 0.374621] __platform_driver_register+0x40/0x48
[ 0.375049] rockchip_usb2phy_driver_init+0x18/0x20
[ 0.375486] do_one_initcall+0x90/0x26c
[ 0.375840] do_initcall_level+0xbc/0x160
[ 0.376203] do_basic_setup+0x30/0x48
[ 0.376533] kernel_init_freeable+0xb0/0x134
[ 0.376923] kernel_init+0x14/0x290
[ 0.377242] ret_from_fork+0x10/0x18
[ 0.377610] extcon extcon1: failed to create extcon usb2-phy link
Fixes:
|
||
|---|---|---|
| .. | ||
| devres.c | ||
| extcon-adc-jack.c | ||
| extcon-arizona.c | ||
| extcon-axp288.c | ||
| extcon-gpio.c | ||
| extcon-intel-cht-wc.c | ||
| extcon-intel-int3496.c | ||
| extcon-max3355.c | ||
| extcon-max8997.c | ||
| extcon-max14577.c | ||
| extcon-max77693.c | ||
| extcon-max77843.c | ||
| extcon-palmas.c | ||
| extcon-qcom-spmi-misc.c | ||
| extcon-rt8973a.c | ||
| extcon-rt8973a.h | ||
| extcon-sm5502.c | ||
| extcon-sm5502.h | ||
| extcon-usb-gpio.c | ||
| extcon-usbc-cros-ec.c | ||
| extcon.c | ||
| extcon.h | ||
| Kconfig | ||
| Makefile | ||