* [PATCH] Fix switch statement for video type
@ 2008-11-26 5:30 Marcel Holtmann
2008-11-26 12:44 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Marcel Holtmann @ 2008-11-26 5:30 UTC (permalink / raw)
To: linux-hotplug
Introducing the video type, creating a fall-through case where other
devices might now be declared as type video.
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 91e3ecc..ce1eb0b 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -70,6 +70,7 @@ static void set_usb_iftype(char *to, int if_class_num,
size_t
case 0x0a: /* CDC-Data */
case 0x0b: /* Chip/Smart Card */
case 0x0d: /* Content Security */
+ break;
case 0x0e:
type = "video";
break;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix switch statement for video type
2008-11-26 5:30 [PATCH] Fix switch statement for video type Marcel Holtmann
@ 2008-11-26 12:44 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2008-11-26 12:44 UTC (permalink / raw)
To: linux-hotplug
On Wed, Nov 26, 2008 at 06:30, Marcel Holtmann <marcel@holtmann.org> wrote:
> Introducing the video type, creating a fall-through case where other devices
> might now be declared as type video.
>
> diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
Ah, nice! Applied.
Thanks,
Kay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-26 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 5:30 [PATCH] Fix switch statement for video type Marcel Holtmann
2008-11-26 12:44 ` Kay Sievers
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).