Skip to content

fix main.c for kernel 5#1

Open
dniwelive wants to merge 2 commits intoSnugface:masterfrom
dniwelive:master
Open

fix main.c for kernel 5#1
dniwelive wants to merge 2 commits intoSnugface:masterfrom
dniwelive:master

Conversation

@dniwelive
Copy link

Build fails on kernel version >=5.
dma_zalloc_coherent() is removed from kernel. dma_alloc_coherent() already zeroes out memory for us so we can use it instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant