Re: [PATCH 4.9] usbip: fix warning in vhci_hcd_probe/lockdep_init_map

2018-01-21 Thread Greg KH
On Wed, Jan 17, 2018 at 03:03:43PM -0700, Shuah Khan wrote: > commit 918b8ac55b6c809b70aa05c279087109584e393e upstream > > vhci_hcd calls sysfs_create_group() with dynamically allocated sysfs > attributes triggering the lock-class key not persistent warning. Call > sysfs_attr_init() for dynamicall

[PATCH 4.9] usbip: fix warning in vhci_hcd_probe/lockdep_init_map

2018-01-17 Thread Shuah Khan
commit 918b8ac55b6c809b70aa05c279087109584e393e upstream vhci_hcd calls sysfs_create_group() with dynamically allocated sysfs attributes triggering the lock-class key not persistent warning. Call sysfs_attr_init() for dynamically allocated sysfs attributes to fix it. vhci_hcd vhci_hcd: USB/IP Vir