OpenCloudOS-Kernel/sound/usb/line6
Chris Rorvick 25a0707cf6 ALSA: line6: Improve line6_read/write_data() interfaces
The address cannot be negative so make it unsigned.  Also, an unsigned
int is always sufficient for the length, so no need to overdo it with a
size_t.  Finally, add in range checks to see if the values passed in
actually fit where they are used.

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-02-12 11:07:48 +01:00
..
Kconfig ALSA: line6/toneport: Implement LED controls via LED class 2015-01-28 07:20:08 +01:00
Makefile ALSA: line6: Reorganize card resource handling 2015-01-20 08:17:16 +01:00
capture.c ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
capture.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
driver.c ALSA: line6: Improve line6_read/write_data() interfaces 2015-02-12 11:07:48 +01:00
driver.h ALSA: line6: Improve line6_read/write_data() interfaces 2015-02-12 11:07:48 +01:00
midi.c ALSA: line6: Move the contents of usbdefs.h into driver.h 2015-01-28 20:54:45 +01:00
midi.h ALSA: line6: Tidy up and typo fixes in comments 2015-01-28 20:54:43 +01:00
midibuf.c ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
midibuf.h ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
pcm.c ALSA: line6: Handle error from line6_pcm_acquire() 2015-01-28 07:22:57 +01:00
pcm.h ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
playback.c ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
playback.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
pod.c ALSA: line6: Use explicit type for serial number 2015-02-11 10:39:05 +01:00
podhd.c ALSA: line6: Pass driver name to line6_probe() 2015-02-08 09:07:07 +01:00
toneport.c ALSA: line6: toneport: Use explicit type for firmware version 2015-02-11 10:41:59 +01:00
variax.c ALSA: line6: Pass driver name to line6_probe() 2015-02-08 09:07:07 +01:00