[ALSA] rawmidi: let sparse know what is going on _for real_
authorMarcin Ślusarz <marcin.slusarz@gmail.com>
Wed, 9 Jan 2008 16:56:07 +0000 (17:56 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:49 +0000 (17:29 +0100)
commit17596a80d3b57763f6d111fa95416559bad9c8dc
tree31402372b5e30b8a2f105c7603e36d58d0317930
parenta780c0aeb39e9251c1b48166380f4455871bc067
[ALSA] rawmidi: let sparse know what is going on _for real_

snd_rawmidi_kernel_read1/write1 weren't annotated but used
copy_to_user/copy_from_user when one of parameters (kernel) was equal to 0
remove it and add properly annotated parameter

Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/rawmidi.c