Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7151878pxb; Thu, 18 Feb 2021 02:52:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwk6av2Q21QLLD7i3c+yCbDXPkFSub4URBj93j8v7CMBH2BLV8+tbtID0fXJtDyZhiznNpv X-Received: by 2002:a17:906:2892:: with SMTP id o18mr3371538ejd.220.1613645541150; Thu, 18 Feb 2021 02:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613645541; cv=none; d=google.com; s=arc-20160816; b=cRD2AfRMGe1nIJtQaakDxvDtUILrDZd/vsVgMlyOtBUyKquuEnnTOIqhJSaxhC6aqd 1U+MtNn393MKKCkrz8+54Q5z7peZYbI+dCpB011JyFG+DQ0HsxTP1yr7pYVnFsL4u4aM Gm0b0kA1ALev7xiiATuRy0SqOSo2XM0nVmoAEAxkT+yzz6cmnalocyKmwQjYl8BuHK2H zW+Fqfvx1V++FB3CSo739JgnHXg6M1Yw1vOeSmsrGjhj3CwHNQUrIEduQ0afe78Z0Ii+ iM+1D544tsxU4Hs39jyUSf3d1n/RPTLeJc12RuuCSN9xFyYs9iVU84qzn9DVXlS1oeMY GMtQ== 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=3Fqqte45MkAo3JI4pEqtxKxFPzYSyk632ZASujIVfeI=; b=wm74R8DeI+Hp0KlCFvUY1xzXAzvELTZxNXEcZdR4025OKr2VQESuuqbyYz3lwB815H JwF8iJCW0/l2nqR7cNDXJhgawErDag9SwS3L1YcepUvaEkaX1HzZDUOB3ArxCZoLW/Xf 2KyNki9A06C1WbqfZAejZy0UwCbVUDrrROO2xaFrIUVviBvJNiACkK/YpvCPrf+rIYX0 APLQraKJurBd7UfONpjo9MgJmbmp48PX0fX/O3OwaiZaKlbyYND/9HDD/PdXbB5CSgBE 1lJ8JA4P8iepQ3jSlp0Nt92uve0H23ymqw/72Njb7tKExeuirIS4KpC/TKUxwlCJu8qn XomA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WYwLGQEA; 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 jz7si3499022ejb.476.2021.02.18.02.51.57; Thu, 18 Feb 2021 02:52:21 -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=WYwLGQEA; 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 S232391AbhBRKqZ (ORCPT + 99 others); Thu, 18 Feb 2021 05:46:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:49686 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231847AbhBRJ3z (ORCPT ); Thu, 18 Feb 2021 04:29:55 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9A45464E5F; Thu, 18 Feb 2021 09:29:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613640554; bh=i9kUQrGej5nnAqz252u1q780DHC6qw/nrdRa48+5dMI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WYwLGQEAj9r+tSDsRfYFnaoSAv7+3GDGBztVhqPKuiSkb0sBI/NtnT1FqitYczK17 MtEtfRgQWHEjkWDpMe9PsVhQ0+w7AEIn/HU6+Lr/qIUXQFDAt8c9r5xbmfb91iS/EW abJKRXNKgnh3cfuRFN16tqbvtCHr9s5Me/3+xs3T8QZy1/ZHb1AY6Hh+34+5Ee1ILH o3lpNde3LL7SLH3Rnr6oNFqNWH0yGbdZA+eIV4z4Yoqbm649HvdH/UqGE1RYuGK4WQ lzptPJuCUAul2Am0LathYzj0olR0IJK/O/uJgm37G2gMbzXXDKilPn+Oht987+3i5c sizpSveadc/ZQ== Date: Thu, 18 Feb 2021 10:29:09 +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 This is already taken care of in pcim_release() as the device is managed (pcim_enable_device()). Your change is not required. -Robert