13 Oct
2014
13 Oct
'14
2:02 p.m.
On 13/10/14 13:38, Clemens Ladisch wrote:
Tobias Hoffmann wrote:
On 07/10/14 17:16, David Henningsson wrote:
- err = set_ctl_urb2(mixer->chip, UAC2_CS_CUR, 0x0100, 0x29, "\x80\xbb\x00\x00", 4);
There have been two reports of users that had to replace the set_ctl_urb2 line with:
char buffer[4] = { '\x80', '\xbb', '\x00', '\x00' }; err = set_ctl_urb2(mixer->chip, UAC2_CS_CUR, 0x0100, 0x29, buffer, 4);
otherwise they would get a kernel oops, e.g.:
[...]
This crash is inside memcpy(), where this memory type cannot make any difference.
Please show the entire oops.
The first reporter (18i8) only sent me a patch with exactly that change, claiming:
It also oopses my kernel because of some constness issues.
Here are two reports (6i6) with oops trace: https://github.com/smilingthax/alsa-driver_scarlett/issues/7
https://github.com/smilingthax/alsa-driver_scarlett/issues/2#issuecomment-54...
Tobias