Re: Misplaced driver_sysfs_remove in really_probe?

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 3:36 PM, Jiri Slaby wrote: Hi, since commit 1901fb2604fbcd53201f38725182ea807581159e Author: Kay Sievers Date: Sat Oct 7 21:55:55 2006 +0200 Driver core: fix "driver" symlink timing driver_sysfs_remove seems to be misplaced in the fail path of really_probe. When driver_s

Misplaced driver_sysfs_remove in really_probe?

2019-03-28 Thread Jiri Slaby
Hi, since commit 1901fb2604fbcd53201f38725182ea807581159e Author: Kay Sievers Date: Sat Oct 7 21:55:55 2006 +0200 Driver core: fix "driver" symlink timing driver_sysfs_remove seems to be misplaced in the fail path of really_probe. When driver_sysfs_add fails (or anything which is currentl