Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4937590pxb; Mon, 15 Feb 2021 05:29:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwnBhZeHq0a3H6nmxqohImtOXPEk0F0lNokuMwgdzASCiFRFcom44rOeiOM5j7+XjPOLXc X-Received: by 2002:a50:f1c9:: with SMTP id y9mr4093779edl.213.1613395775352; Mon, 15 Feb 2021 05:29:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613395775; cv=none; d=google.com; s=arc-20160816; b=DW64wxdFZ0JKp/2vev4MNi77WRJD11+QqDkJGveomq53iQQdW82DOhkZkCD9ictEEl HegkCcaxM10bsLJQyemPraUhh9CrlytlbJ+TS0C/jjhj5nIbh83JawV+NLp8TFG1JXj+ /8VA4qTgAMLvOZlrXHBinzX0hZOqFbIZs5t4QHJkoM8xB8FV3z5s01JCsW1w4o1coz4I pGUKcdM2zuWci3PLKdwn30sRgKUjjP4cgQooJ8NzYPJn5V3sBXpFaTR7P/Ap8nZeXcSc KZGpePCyeosADwXus1NF6AiECfWc866/jCdgsCzZMJm7vbCtTE9+rifkKAzK49U2Oz/r ZiBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=9bJnGGak+hjq5YBsT7PSvf7GEL4oW1OFrS2bizhCbQU=; b=MEbYi4pBqXtuAvfjivmnqokKR9za3oH+GVmYfxA9+aEoINtK27DBRPkQIRu8vLTtUC qzdBJa3fXMkjVNIR21QnOWIO3CjwOP2ctxZVHocDcWao1DnnMFWigAX5b1LBXwL7JS4O /ZqWRwC1QYoNxPdwsC/LrbYAT6Z7acbxJym91lxAFcSHIvnIKEUVA9889OWB9107qUFW Gn8FhFBBC3HwqMXyvN/m2dwAGGebGJQretBprKnI4Wl3nSrHVJ1x8IU2C0sIVU/fwfmp e74gasFZbL0ZnRg9RWpVhQcekq8ZZw0rsnnbon0WTTH4yY1PgDrg5jPorcFpbhlxEj3w /sXA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si13071245edp.379.2021.02.15.05.29.11; Mon, 15 Feb 2021 05:29:35 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230162AbhBON0r (ORCPT + 99 others); Mon, 15 Feb 2021 08:26:47 -0500 Received: from mga05.intel.com ([192.55.52.43]:22537 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbhBON0R (ORCPT ); Mon, 15 Feb 2021 08:26:17 -0500 IronPort-SDR: cw0SpZJkWfXf4g7/3QC6uHGl92mHR9dAles+kJiIa7OQQIWSTcTncjwQCD5SeCXB1xDIp8qrvI PcS139KcfBDg== X-IronPort-AV: E=McAfee;i="6000,8403,9895"; a="267526103" X-IronPort-AV: E=Sophos;i="5.81,180,1610438400"; d="scan'208";a="267526103" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2021 05:22:43 -0800 IronPort-SDR: Q92VLC8ChvVQp9ZTerRdIUQPLKHA+TrtS3HUJ9mgc6H5DzaPi59pZB7OXkoGrivf8EqbJjOAls AK0bhyIDQOVQ== X-IronPort-AV: E=Sophos;i="5.81,180,1610438400"; d="scan'208";a="383365469" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2021 05:22:41 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lBdpm-005CRM-HF; Mon, 15 Feb 2021 15:22:38 +0200 Date: Mon, 15 Feb 2021 15:22:38 +0200 From: Andy Shevchenko To: Dejin Zheng Cc: daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, broonie@kernel.org, jan.kiszka@siemens.com, jarkko.nikula@linux.intel.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: pca2xx-pci: Fix an issue about missing call to 'pci_free_irq_vectors()' Message-ID: References: <20210214145746.602770-1-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210214145746.602770-1-zhengdejin5@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 14, 2021 at 10:57:46PM +0800, 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. I'm wondering if you noticed that it's done by pcim_* API. Perhaps you can introduce pcim_alloc_irq_vectors() or so and do not add these calls at all? > Fixes: 64e02cb0bdfc7c ("spi: pca2xx-pci: Allow MSI") No, it doesn't fix anything. -- With Best Regards, Andy Shevchenko