diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-09-25 15:00:20 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-25 22:17:45 +0200 |
commit | 8da08ca03b73593d5299893bf29fc08569c3fb5f (patch) | |
tree | 83bffc844435db97f23836cad0bceb967c37f966 /sound/soc/sunxi/sun4i-spdif.c | |
parent | ALSA: control: cage TLV_DB_RANGE_HEAD in kernel land because it was obsoleted (diff) | |
download | linux-8da08ca03b73593d5299893bf29fc08569c3fb5f.tar.xz linux-8da08ca03b73593d5299893bf29fc08569c3fb5f.zip |
ALSA: usb-line6: use the same declaration as definition in header for MIDI manufacturer ID
Currently, usb-line6 module exports an array of MIDI manufacturer ID and
usb-pod module uses it. However, the declaration is not the definition in
common header. The difference is explicit length of array. Although
compiler calculates it and everything goes well, it's better to use the
same representation between definition and declaration.
This commit fills the length of array for usb-line6 module. As a small
good sub-effect, this commit suppress below warnings from static analysis
by sparse v0.5.0.
sound/usb/line6/driver.c:274:43: error: cannot size expression
sound/usb/line6/driver.c:275:16: error: cannot size expression
sound/usb/line6/driver.c:276:16: error: cannot size expression
sound/usb/line6/driver.c:277:16: error: cannot size expression
Fixes: 705ececd1c60 ("Staging: add line6 usb driver")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/sunxi/sun4i-spdif.c')
0 files changed, 0 insertions, 0 deletions