Re: [PATCH] media: atomisp: add missing return type (fix -Werror=return-type)

From: Dan Carpenter
Date: Wed Sep 29 2021 - 09:12:31 EST


On Wed, Sep 29, 2021 at 02:26:38PM +0200, Paolo Pisati wrote:
> 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 | }
> | ^
> cc1: some warnings being treated as errors
>
> Signed-off-by: Paolo Pisati <paolo.pisati@xxxxxxxxxxxxx>

This was fixed a long time ago. Please work against an up-to-date tree.

regards,
dan carpenter