Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1676625pxy; Mon, 2 Aug 2021 07:40:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJZujzaXesvh/LsI4JxzRm68lcelIbgs+fSqrfqtaFrhs8+PMZcFxQOd15v+dWh0jz3Aob X-Received: by 2002:a17:906:d20b:: with SMTP id w11mr16047859ejz.242.1627915217670; Mon, 02 Aug 2021 07:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627915217; cv=none; d=google.com; s=arc-20160816; b=HOM9yFwfeh5VjP/YsUxi2E/EKxTBzWnF126UBsK2eVF/nxA4FN4c87O05HYfUZ5B9A LEnpn8gajj6kvfgmtlZ5M9sS9B7jLjeLlr0XZPENXeQAAP5jBUvLXwo5mdNfUVLZox64 aD7eRo2pFMvLs3CJYe6C+Bqud2JHDeM4usSczgl7PjjeJP27kH8EvRNnmv7IOlUrlgPP ThxqYMCGakfs8RrR9Qdc4xLptLjF/DqJh9GN370nUHQzeDL5SHyJ1dVIKfALSyJQ+NHZ en2hK0zRiW2S/uCUmjr9T+eOIYiuH2ewf7MLQPqyqfloTaOXO/qztEP9TOCj7UKqdQzE ZKIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=L/X9zu0v+HYF6F4h8k/7sbgWktrxMJsMfGJZ1OtMnvc=; b=0+4RlZmyPAGtbhdcZLMh0zVqGzpDW81+maaw5q+M5fo7g2bV5Z0TdnR+ulzxZT+Xds eiVBuBt35iy3mTTs1rYFKepJvdrzwmBx+8P/W0uttHGuKhaWJjPUSDv+1eRzgNrv9uXg yQSCx9jCQG2Y3CYasnNw93mEu+k5ZjhYTrSRJggQTcvGXIS54qk5uT3KSDJgYd2G9bm2 AhFlUO09KRvi1hxP8OfprTqyUs3qGalpTfeTGSlBqbet7CJq/yE8r8Vmr2JDIMijg0QW h78c1U5++Afu3P5XI0OgMemx9smzQV+od+GrQZT8qYlAWmfc2D6XqD7rQGKC0YeBwtEY jwCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K15vMR6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si12717857ejy.271.2021.08.02.07.39.53; Mon, 02 Aug 2021 07:40:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K15vMR6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234260AbhHBOih (ORCPT + 99 others); Mon, 2 Aug 2021 10:38:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:45194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbhHBOie (ORCPT ); Mon, 2 Aug 2021 10:38:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A9EE160E97; Mon, 2 Aug 2021 14:38:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627915105; bh=3ZYcZPQjEjSEHTb9HiRMek+879amZ+MVRhxp83xQ/aE=; h=From:To:Cc:Subject:Date:From; b=K15vMR6aQfsjYku1iI3zkke3uUJv9wqJwhmpNAzgXCJuguiFVcHa7naHaxUlMY9Di 5CDEm7Pyzfde09ceAUVOmYZ1JvLGJquVpTnLySEaxY2U5Uyd+rS46oIMi0vj7hgOmC IkVNgkQVTe85/PKOoOutEN4/t9KhN3E0erRJGitAuXI2Dg/G49ESf3WSedqTfNy4WS aRLd1JOU+1zrlFr+fDXLiqQEiZs/rsehYRSuWMw4i97dmxhSZeL+G/YK+UUNx+tCqQ gecn7oSAdyXjP1y50j0kaRYp/bRAyDIxEtOdlEsHFQh1w8GSiMxOWMwe9f7S17q9TJ j6k4hXj4cRgzQ== From: Arnd Bergmann To: Mauro Carvalho Chehab , Greg Kroah-Hartman , Pavel Skripkin Cc: Arnd Bergmann , Sakari Ailus , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] media: atomisp: restore missing 'return' statement Date: Mon, 2 Aug 2021 16:38:14 +0200 Message-Id: <20210802143820.1150099-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The input_system_configure_channel_sensor() function lost its final return code in a previous patch: 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] Restore what was there originally. Fixes: 728a5c64ae5f ("media: atomisp: remove dublicate code") Signed-off-by: Arnd Bergmann --- .../media/atomisp/pci/hive_isp_css_common/host/input_system.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c index 8e085dda0c18..712e01c37870 100644 --- a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c +++ b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c @@ -1646,6 +1646,8 @@ static input_system_err_t input_system_configure_channel_sensor( default: return INPUT_SYSTEM_ERR_PARAMETER_NOT_SUPPORTED; } + + return INPUT_SYSTEM_ERR_NO_ERROR; } // Test flags and set structure. -- 2.29.2