linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: clarify configfs-usb-gadget-rndis
@ 2018-01-15 16:36 David Lechner
  2018-01-15 23:16 ` David Lechner
  0 siblings, 1 reply; 2+ messages in thread
From: David Lechner @ 2018-01-15 16:36 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel, David Lechner, Felipe Balbi, Greg Kroah-Hartman

This removes the misleading "(hex)" from the attribute descriptions of
configfs-usb-gadget-rndis. These attributes can only accept decimal
numbers, not hexadecimal formatted numbers.

Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Lechner <david@lechnology.com>
---
 Documentation/ABI/testing/configfs-usb-gadget-rndis | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/configfs-usb-gadget-rndis b/Documentation/ABI/testing/configfs-usb-gadget-rndis
index 1373990..453c709 100644
--- a/Documentation/ABI/testing/configfs-usb-gadget-rndis
+++ b/Documentation/ABI/testing/configfs-usb-gadget-rndis
@@ -12,6 +12,6 @@ Description:
 				Ethernet over USB link
 		dev_addr	- MAC address of device's end of this
 				Ethernet over USB link
-		class		- USB interface class, default is 02 (hex)
-		subclass	- USB interface subclass, default is 06 (hex)
-		protocol	- USB interface protocol, default is 00 (hex)
+		class		- USB interface class, default is 2
+		subclass	- USB interface subclass, default is 6
+		protocol	- USB interface protocol, default is 0
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: clarify configfs-usb-gadget-rndis
  2018-01-15 16:36 [PATCH] Documentation: clarify configfs-usb-gadget-rndis David Lechner
@ 2018-01-15 23:16 ` David Lechner
  0 siblings, 0 replies; 2+ messages in thread
From: David Lechner @ 2018-01-15 23:16 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel, Felipe Balbi, Greg Kroah-Hartman

On 01/15/2018 10:36 AM, David Lechner wrote:
> This removes the misleading "(hex)" from the attribute descriptions of
> configfs-usb-gadget-rndis. These attributes can only accept decimal
> numbers, not hexadecimal formatted numbers.
> 
> Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: David Lechner <david@lechnology.com>
> ---

Please disregard this patch. This actually does use hex values.

It just does not use the "0x" prefix from C, which threw me off.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-15 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-15 16:36 [PATCH] Documentation: clarify configfs-usb-gadget-rndis David Lechner
2018-01-15 23:16 ` David Lechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).