Commit 359dad18 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA update

  - ioctl32 - added missing backslashes
parent ab34ca8e
...@@ -91,11 +91,11 @@ static int _snd_ioctl32_##type(unsigned int fd, unsigned int cmd, unsigned long ...@@ -91,11 +91,11 @@ static int _snd_ioctl32_##type(unsigned int fd, unsigned int cmd, unsigned long
if (data32 == NULL || data == NULL) { \ if (data32 == NULL || data == NULL) { \
err = -ENOMEM; \ err = -ENOMEM; \
goto __end; \ goto __end; \
} }\
if (copy_from_user(data32, (void*)arg, sizeof(*data32))) { \ if (copy_from_user(data32, (void*)arg, sizeof(*data32))) { \
err = -EFAULT; \ err = -EFAULT; \
goto __end; \ goto __end; \
} }\
memset(data, 0, sizeof(*data));\ memset(data, 0, sizeof(*data));\
convert_from_32(type, data, data32);\ convert_from_32(type, data, data32);\
oldseg = get_fs();\ oldseg = get_fs();\
......
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