[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAN4mUXNZomVDfve1p_2D6G38MXd=gWLdg3=eSUMnFcWhcyb2EA@mail.gmail.com>
Date: Tue, 1 Aug 2023 15:27:04 +0800
From: chengdong zhou <zhouscd@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: dan.scally@...asonboard.com, laurent.pinchart@...asonboard.com,
m.grzeschik@...gutronix.de, john@...ping.me.uk,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: gadget: Fix the function name error in sourcesink/loopback.
Thank you for your patient response.
On Tue, Aug 1, 2023 at 2:23 PM Greg KH <gregkh@...uxfoundation.org> wrote:
>
>
> Please document this in the changelog text.
But I can't find the changelog text anywhere.
>
>
> But you changed the name:
>
> > > > - ss->function.name = "source/sink";
> > > > + ss->function.name = "sourcesink";
>
> isn't that visable to userspace?
Yes, I removed the "/". Because the macro definition
DECLARE_USB_FUNCTION_INIT does not support "/".
Should I stick with the original "SourceSink"? I think using the
Linux-style "sourcesink" is better. By the way, due to the current
bug, no one should be able to use "source/sink" in userspace.
thanks.
Powered by blists - more mailing lists