Re: [PATCH v2] usbip: vhci_hcd indicate failed message

2019-09-16 Thread shuah
On 9/15/19 8:22 AM, Mao Wenan wrote: If the return value of vhci_init_attr_group and sysfs_create_group is non-zero, which mean they failed to init attr_group and create sysfs group, so it would better add 'failed' message to indicate that. This patch also change pr_err to dev_err to trace which

[PATCH v2] usbip: vhci_hcd indicate failed message

2019-09-15 Thread Mao Wenan
If the return value of vhci_init_attr_group and sysfs_create_group is non-zero, which mean they failed to init attr_group and create sysfs group, so it would better add 'failed' message to indicate that. This patch also change pr_err to dev_err to trace which device is failed. Fixes: 0775a9cbc694