All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] Fix switch statement for video type
Date: Wed, 26 Nov 2008 05:30:53 +0000	[thread overview]
Message-ID: <492CDF0D.10903@holtmann.org> (raw)

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;

             reply	other threads:[~2008-11-26  5:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26  5:30 Marcel Holtmann [this message]
2008-11-26 12:44 ` [PATCH] Fix switch statement for video type Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492CDF0D.10903@holtmann.org \
    --to=marcel@holtmann.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.