Closed sempervictus closed 7 years ago
Sorry, but your fix is wrong. You have to adapt the signature of readq_dump_sysex()
instead to avoid a RAP runtime violation.
I'll fix it up myself, no worries.
Thanks for the report!
Thank you, will look up how you did it. We don't build for hardware with rap due to use of dkms, so this but never hit us on the virt builds which use it.
The RAP violation will only be triggered by executing this code path. Merely compiling/linking the code does not generate errors. ... RAP is CFI after all, i.e. needs a control flow, i.e. code execution ;)
Avoids "error: passing argument 2 of ‘snd_seq_dump_var_event’ from incompatible pointer type" in sound/core/seq/oss/seq_oss_readq.c:146:36