Kernel upstream compile error at drivers/staging/media

Lafan Mining lkfan at protonmail.com
Wed Sep 8 05:39:15 EDT 2021


Hello!

I'm learning the Linux Kernel and currently faced troubles with building the upstream. I git clone'd source code of master and tried to make deb-pkg. I faced compile error:

drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c: In function ‘input_system_configure_channel_sensor’:
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c:1649:1: error: control reaches end of non-void function [-Werror=return-type]
1649 | }

What this error could be about and how to fix it? Maybe some wrong compilation flag is the cause?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210908/002ab51c/attachment.html>


More information about the Kernelnewbies mailing list