Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp757069pxb; Thu, 19 Aug 2021 10:26:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxY6Ga3G0pMxGJiQ+rt9Jt5ClVogwl8FZ9LDW7zjBrFj95rbiqF9S5Mcs0d8qMft3L21RPY X-Received: by 2002:a05:6e02:13b1:: with SMTP id h17mr10686138ilo.292.1629393964048; Thu, 19 Aug 2021 10:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629393964; cv=none; d=google.com; s=arc-20160816; b=ezMjv1z2bYnsIPiFgcy8nONfUkhUQaS8TKv4prcuMZnLSK2ZUfDTT+tqhEUncWvBYk 6h7x31P3ffQr2wu2BwmrmzXeL6fLPXMzrU8XXzVEQz+YjXu0Ac0e0TEQ7cC6A+Zghtqm fZTosiwa3LSZAfLZKgIeCGMyJn1khS+z325G/G7zJxBD6ytnoAyKEfhRSGhqEVIrLnEU 5815A74ChpMhnPcu9Y9Lo489tC32ebE6doIp41z/Tr9D9cYzS4sg32GrRwNcAV66Pv50 W+JXbx0T2iHlqDqRiYbBxe8/9wp6WzyrVLRQ3EIoGae2XeGPpr9s+rKQZxc47Zcx1FXW PnVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UYd2dapw2LMwvOwjrvllB89XLpc87giCIS2NMpFO4KE=; b=QgXTf4vQtjlM8jGFDSvla4Jtwz9DLhnfm8J5hYLVi7U2d3AbBkS4qtl46DK68jCcuP AGm2nNjLifTY3KIR5KTMWWQicP3hNkKoxNAa1thc/pw5SLIVjZ1AFuMi/RcVZWt/KEPq /lnpwlyezFql6lpppuE4z1edh9KwJiOEpfpJwUGRM+LVNrXXOI7u6YpyL1CDlzofbFX4 4PiTOaYH6rprWLNJJZS+QDgfKte78XwS8/LWUDqqV2SmtncMwtxd7qTuyoUvpj5cZ8GJ sBCIZSblwbFIa8ssEh4oIsv0UlFs98gRhd9F2a9joFZ88uqzDgBz9EMXY4BQCKP7GjLX bTQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c60+UAjN; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s1si3956138jat.65.2021.08.19.10.25.49; Thu, 19 Aug 2021 10:26:04 -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=@gmail.com header.s=20161025 header.b=c60+UAjN; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233320AbhHSRZ3 (ORCPT + 99 others); Thu, 19 Aug 2021 13:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbhHSRZ1 (ORCPT ); Thu, 19 Aug 2021 13:25:27 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E754C061575; Thu, 19 Aug 2021 10:24:51 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id e7so6519240pgk.2; Thu, 19 Aug 2021 10:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UYd2dapw2LMwvOwjrvllB89XLpc87giCIS2NMpFO4KE=; b=c60+UAjN01E/MyS6qz7JtawFf1HTe4XNk03E930VEgOBPRVjBDqBVsklwYJuniYGs1 LGe9Fo/Kv+y7utUO1bkuePODvr28k5c0B7ThjmTWITZ0yjKvazUzVvjc63g8y7PO0KJX z2Q6s9b91XIlSkvT4TFBoV4hCfk7XQNOyCyDoOjMeOgJFoSXToxHGl2zf3ZglwXNHILA 5nBX9cKXyOadqOmLtqSJwqYV05VbMa04EIULWevIDHDlifn5mbnvs1dWl40gadZ4xbM2 6a7eoSJwbBNdl0qdG8FUhC1/pAIuyY1GF34qEcVjx1qmi6IJ7IuG+LTd+ftkXYv/zakr fe6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UYd2dapw2LMwvOwjrvllB89XLpc87giCIS2NMpFO4KE=; b=OERfVJjzZbz7nEwDyGnUWjpWPCL6hAl3GPYewqBfQh9gpXwXOyXQdrdz7w4Awq9GaF dWdvzyiT+8rswZ7WQ5LtaiS01eRGIAOTtHopiZ5pWLKNgdkXsApjWmF8t5/VmRrO3/df qIymz+FdC5QsZPpzFuPtsUkXbdjqXLIuRloXXwsmHFeV5G1pmLbAEXZrXsxqIVV+jLKy vbpWftyeilQqQs82WuNm0Sjw3+xNFBVLYCHz6TZNgVutHEOoDkyi0VE9tmWphMXGtSEL GvLGPsHXzpZyXKAWlaX9TzLaM62lqLZtUXBO0WB+lvnaOgVNcHXy87+FQxxmxTf2m0vT tNVg== X-Gm-Message-State: AOAM530jbqSrI1E7ZfOw82GXoZ03p/HURuY+PcHoz7sClVe+MS9B7pzH Hqk1zVd5E99rBxE+q8Lp4UCJa7jHlf/0iojyCY8= X-Received: by 2002:aa7:9618:0:b0:3e2:1bc3:aa93 with SMTP id q24-20020aa79618000000b003e21bc3aa93mr15746883pfg.73.1629393890934; Thu, 19 Aug 2021 10:24:50 -0700 (PDT) MIME-Version: 1.0 References: <20210802143820.1150099-1-arnd@kernel.org> <202108130937.7848F6B318@keescook> In-Reply-To: <202108130937.7848F6B318@keescook> From: Andy Shevchenko Date: Thu, 19 Aug 2021 20:24:11 +0300 Message-ID: Subject: Re: [PATCH] media: atomisp: restore missing 'return' statement To: Kees Cook Cc: Arnd Bergmann , Mauro Carvalho Chehab , Greg Kroah-Hartman , Pavel Skripkin , Arnd Bergmann , Sakari Ailus , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 13, 2021 at 7:39 PM Kees Cook wrote: > > On Mon, Aug 02, 2021 at 04:38:14PM +0200, Arnd Bergmann wrote: > > 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 > > I hit this too. Thanks! > > Reviewed-by: Kees Cook Me too, Tested-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Pavel, how have you tested it? -- With Best Regards, Andy Shevchenko