From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC3CCC47089 for ; Wed, 26 May 2021 14:49:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8986F613B4 for ; Wed, 26 May 2021 14:49:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235085AbhEZOvY (ORCPT ); Wed, 26 May 2021 10:51:24 -0400 Received: from mga12.intel.com ([192.55.52.136]:56101 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234894AbhEZOvX (ORCPT ); Wed, 26 May 2021 10:51:23 -0400 IronPort-SDR: +8v120IyYkGZREeqc0YgE7alOBacEwWTzCswlOGV/rMlBL6h3BvL8tLHyc5DoWwtSP63hxWB76 XmjO9ibuCbbA== X-IronPort-AV: E=McAfee;i="6200,9189,9996"; a="182128571" X-IronPort-AV: E=Sophos;i="5.82,331,1613462400"; d="scan'208";a="182128571" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2021 07:49:51 -0700 IronPort-SDR: hy6+akIv9+Y9X6iuaotpNwZKhLvTNZSpWjj/4mLsj5CTA4oByVnBG9rn2RgwoscxpNWAyRGa4+ U7h9OFuX4hCA== X-IronPort-AV: E=Sophos;i="5.82,331,1613462400"; d="scan'208";a="443076408" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2021 07:49:48 -0700 Received: from paasikivi.fi.intel.com (localhost [127.0.0.1]) by paasikivi.fi.intel.com (Postfix) with SMTP id 58DCA2011E; Wed, 26 May 2021 17:49:46 +0300 (EEST) Date: Wed, 26 May 2021 17:49:46 +0300 From: Sakari Ailus To: Evgeny Novikov Cc: Mauro Carvalho Chehab , Jacopo Mondi , Ezequiel Garcia , Hans Verkuil , Lubomir Rintel , Vaibhav Gupta , Leon Romanovsky , Laurent Pinchart , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org Subject: Re: [PATCH] media: marvell-ccic: set error code in probe Message-ID: <20210526144946.GD3@paasikivi.fi.intel.com> References: <20210526143506.6945-1-novikov@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210526143506.6945-1-novikov@ispras.ru> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 05:35:06PM +0300, Evgeny Novikov wrote: > When i2c_new_client_device() fails, cafe_pci_probe() cleans up all > resources and returns 0. The patch sets the error code on the > corresponding path. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Evgeny Novikov Acked-by: Sakari Ailus -- Sakari Ailus