Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7164145pxb; Thu, 18 Feb 2021 03:14:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyq6o5/Y2jYz9ZSRSDw5P39R2qhaEgJC5UzcKO5l+Ru1xOFoRmiblNxDx8+cKPFjfywLHs3 X-Received: by 2002:a05:6402:17e2:: with SMTP id t2mr3769577edy.140.1613646847590; Thu, 18 Feb 2021 03:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613646847; cv=none; d=google.com; s=arc-20160816; b=ap7J5Isjj1k67UVAstyv7my70nWX+0T7ckwjatFkFHpXVT7KdeE+zszLfQ8iOB/TqN j0CdnhwfU7NHpWwNhT0RIxkGhs1jngEXiNT3JSxAX7gE8ftKc4V1BhHSF9YgrutNdHpK viH1hAArQUUkgLac1zZLZpixZjekB8NtKFS5gaOCdgGqxneKcH6fUUuqaHGLf/VOIKe7 1XzFMUzyK4dutJ2NL/7nHeeykNxhz7GBUVY2U+RFc5JYOUxrBEmikofl0UAUOTJoyhqJ Tri5AwDMuVy+c7xJgz7uhIVOSkVMYGb41wU90LtA7PpxD9zGoifYVcdpEyysvl32cGS3 kkuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TZJu4RutZWfOXqIQGlccaFvSUfjYLTqCFTj+aVmyNFo=; b=vj0NE6v1JI6tRwNFEglkU0DQy9UcdJ65J7meu0Wbp/ovS9RuCbrnYKvU47vH7/3Rh1 o4+7rspeu6foifkn/6vFukupmRchl1uJJHZ+lpQwyoJmTqSNt2wdN5B7xGtEiFH4glR3 KmfTNX1xj+C1xCFd5VNbo2FI1/Wen13V9t1/6XzSSPoaTtTPAO8lxRJM4l06ls8/f/Bc NAKBq6E1+IQA2ae8/4EiMbjLK2HI/jqt+IJ0DKzDYa4Wy4AHcbZ4by0DCaCLXTYN7A4J Elr+xg3nk+Rs/oCXVWR/Xg8CFdtbbjkwaJgPjq2seFlfxnfygdVXoqAt0FcZ2XpMMCDW B9tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OHxCe9Gb; 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 eb8si3942468edb.535.2021.02.18.03.13.39; Thu, 18 Feb 2021 03:14:07 -0800 (PST) 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=OHxCe9Gb; 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 S232073AbhBRLFD (ORCPT + 99 others); Thu, 18 Feb 2021 06:05:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:52238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbhBRJ4L (ORCPT ); Thu, 18 Feb 2021 04:56:11 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 672C164E5F; Thu, 18 Feb 2021 09:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613641509; bh=79ud9I3C1NXf24LTqgmPVqa9DlP867/mwk9GqbIsBWk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OHxCe9GbyDb2Xkc7uYS/NLXxG7VsJ7PUBkvez2yuO4q/tdddGR1riXO1FdBcJ92+y r4GCcyjuYNJCq+nomPFHkaZakFSMHogW2fCVnVGsOAPbHRrdOA15WpvBqdk32xpoJ1 zhHQL5V89k+gLPNAK3ghz9Snu1KpIrYvQ+Nf0+vIrvkbkmQRNHDdjZGRXV4c4kgwv4 6GVxc9I9vTS2nJCaCZjG46FbU+NrLuasAyiFyOjeQSvi4arOI28tdU0QgKueFp7c21 /8gdwQtMI8WKIibpApVHQZyhu8qCz3O/9KD3YiA4ys9zzeoD2gqXKmA1hhlGtRLg8c 9qsEQE04K6z2Q== Date: Thu, 18 Feb 2021 10:45:05 +0100 From: Robert Richter To: Dejin Zheng Cc: wsa+renesas@sang-engineering.com, jan.glauber@gmail.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: thunderx: Fix an issue about missing call to 'pci_free_irq_vectors()' Message-ID: References: <20210214143734.591789-1-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210214143734.591789-1-zhengdejin5@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14.02.21 22:37:34, Dejin Zheng wrote: > Call to 'pci_free_irq_vectors()' are missing both in the error handling > path of the probe function, and in the remove function. So add them. > > Fixes: 4c21541d8da17fb ("i2c: thunderx: Replace pci_enable_msix()") > Signed-off-by: Dejin Zheng > --- > drivers/i2c/busses/i2c-thunderx-pcidrv.c | 9 ++++++--- FTR, I reviewed the error paths of thunder_i2c_probe_pci() (v5.11-rc1) and all look sane to me. -Robert