ljalves / linux_media

TBS linux open source drivers
https://github.com/ljalves/linux_media/wiki
Other
88 stars 151 forks source link

Error - "incompatible pointer type" Fedora 26 Kernel 4.11.8 #161

Open TheYetiWakes opened 7 years ago

TheYetiWakes commented 7 years ago

Hi Receive the following error during make on above system:

/xxxx/xxxx/media_build/v4l/videobuf-dma-sg.c:456:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = videobuf_vm_fault, ^~~~~~~~~~~~~~~~~

mfyorp commented 7 years ago

I have the exact same error on Gentoo with kernel 4.12.12

cz172638 commented 7 years ago

maybe check fixes in kernel for f26/f27 as in f27 landed gcc7

mfyorp commented 7 years ago

The error remains the same, both with gcc 5.4.0 and gcc 7.2.0. Both on kernel 4.12.12.

alanswanson commented 7 years ago

Development appears to have switched to the semi-official forks (supported by TBS for a few of their own cards after the great work by ljalves and co) at;

https://github.com/tbsdtv/linux_media https://github.com/tbsdtv/media_build

And this is why you should upstream drivers otherwise you continually need to sync with newer kernel releases. This fork does appear to have a target to upstream into the mainline kernel.