NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/38774: cosmetic typo in umidireg.h: SubType/Subtype
>Number: 38774
>Category: kern
>Synopsis: cosmetic typo in umidireg.h: SubType/Subtype
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 28 05:25:00 +0000 2008
>Originator: Patrick Mahoney
>Release: 4.99.63
>Organization:
>Environment:
NetBSD dhcppc1 4.99.63 NetBSD 4.99.63 (MYUVIDEO) #33: Tue May 27 21:18:16 MDT
2008 pat@:/usr/src/sys/arch/i386/compile/MYUVIDEO i386
>Description:
Extremely non-critical problem, but for consistency with other USB descriptor
definitions, a field in umidireg.h should be changed from "SubType" to the
correct "Subtype".
>How-To-Repeat:
>Fix:
The following patch fixes the problem. grep tells me that this particular
field is not used anywhere, and the kernel compiles with the change included.
I have no midi devices to test with.
--- ./umidireg.h.orig 2008-05-27 21:10:10.000000000 -0600
+++ ./umidireg.h 2008-05-27 21:10:28.000000000 -0600
@@ -56,7 +56,7 @@
typedef struct {
uByte bLength;
uByte bDescriptorType;
- uByte bDescriptorSubType;
+ uByte bDescriptorSubtype;
uByte bNumEmbMIDIJack;
} UPACKED umidi_cs_endpoint_descriptor_t;
#define UMIDI_CS_ENDPOINT_DESCRIPTOR_SIZE 4
Home |
Main Index |
Thread Index |
Old Index