Re: [PATCH 1/2] usb: configfs: allow UDC binding rule configured as binding to *any* UDC

From: Pavel Machek
Date: Sat Jun 04 2016 - 16:56:21 EST


On Tue 2016-05-03 11:04:24, changbin.du@xxxxxxxxx wrote:
> From: "Du, Changbin" <changbin.du@xxxxxxxxx>
>
> On most platforms, there is only one device controller available.
> In this case, we desn't care the UDC's name. So let's ignore the
> name by setting 'UDC' to 'any'. And also we can change UDC name
> at any time if it is not binded (no need set to "" first).

making "any" special does not look like a good idea. What if it really
is "any"?

Return nothing instead, not even \n?

> Signed-off-by: Du, Changbin <changbin.du@xxxxxxxxx>
> Signed-off-by: Du, Changbin <changbin.du@xxxxxxxxx>

I don't think this is how you should sign it off.

Best regards,

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html