Commit 0a1eb4e8 authored by Stefan Hajnoczi's avatar Stefan Hajnoczi Committed by Greg Kroah-Hartman

staging: line6: wrap lines to 80 chars in pod.c

Fix the following checkpatch.pl warnings:

  WARNING: line over 80 characters
  #4508: FILE: staging/line6/pod.c:37:
  +       /* POD_SYSEX_DUMPMEM2  = 0x76 */   /* dumps entire internal memory of PODxt Pro */

  WARNING: line over 80 characters
  #4630: FILE: staging/line6/pod.c:159:
  +               if (memcmp(buf + 1, line6_midi_id, sizeof(line6_midi_id)) == 0) {
Signed-off-by: default avatarStefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 709b2fae
...@@ -34,7 +34,9 @@ enum { ...@@ -34,7 +34,9 @@ enum {
POD_SYSEX_DUMPMEM = 0x73, POD_SYSEX_DUMPMEM = 0x73,
POD_SYSEX_DUMP = 0x74, POD_SYSEX_DUMP = 0x74,
POD_SYSEX_DUMPREQ = 0x75 POD_SYSEX_DUMPREQ = 0x75
/* POD_SYSEX_DUMPMEM2 = 0x76 */ /* dumps entire internal memory of PODxt Pro */
/* dumps entire internal memory of PODxt Pro */
/* POD_SYSEX_DUMPMEM2 = 0x76 */
}; };
enum { enum {
...@@ -156,7 +158,8 @@ void line6_pod_process_message(struct usb_line6_pod *pod) ...@@ -156,7 +158,8 @@ void line6_pod_process_message(struct usb_line6_pod *pod)
case LINE6_SYSEX_BEGIN | LINE6_CHANNEL_DEVICE: case LINE6_SYSEX_BEGIN | LINE6_CHANNEL_DEVICE:
case LINE6_SYSEX_BEGIN | LINE6_CHANNEL_UNKNOWN: case LINE6_SYSEX_BEGIN | LINE6_CHANNEL_UNKNOWN:
if (memcmp(buf + 1, line6_midi_id, sizeof(line6_midi_id)) == 0) { if (memcmp(buf + 1, line6_midi_id,
sizeof(line6_midi_id)) == 0) {
switch (buf[5]) { switch (buf[5]) {
case POD_SYSEX_DUMP: case POD_SYSEX_DUMP:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment