Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4938228pxb; Mon, 15 Feb 2021 05:30:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKHnpGosfDkJiTFfVkWlPGAIDOZ2l/sQvb17BygLq+m4rFugqNdAf2Xf64S4SMxrV58L44 X-Received: by 2002:a17:906:7c43:: with SMTP id g3mr15445738ejp.210.1613395832131; Mon, 15 Feb 2021 05:30:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613395832; cv=none; d=google.com; s=arc-20160816; b=prH/DA5ldWgULV0MQhC7am3yt6qKtFHRE+1Ke5lB0ZuucHzEXZu9RGAFNPkLrAT2Ip BYZPTgM89sksZpSfn00EL2rl6DSXiDMPbh2GdwdyXgJVupMEh8zDeS2tHVJVT+ovWAam U4CeF2H8ZAAhpnuOV/7N/vXMkf+aoO6u8jSox/wSxxb3swTwK+6m5tN/600kuqTnJl03 F2NvegwWpv9PS6+qcvIwBShngJb/Ki8DYWL5lcJq17kcAntuRpfa5o1a6lKD5YMYeGm/ g8vIAZOd4y7EWxV7w7sUDFKsQcHJQTdmZMNwBrTyr1rCfgdpQ/Sw9M1jiYSMpZHtUYni mcdw== 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=RBnx1kDe3EFDlt7rxj/CXQzznsDJFWB2/f3gowikweg=; b=MA4lwy2ChuwRBjlNA6DttPQjra87JmV7g+SnLesZbzggxEjiKZFFvvyBS3IMIaEq0A +5pmYezdR0nbLJ0S+tKAXZsukdrddi/fc09hsOauCKy4f3MRdJdEE0IWlpBnAzwuk0ol Pdmj6uPxCgjv6SvZWUJTmrxsWk1PJMe57Jjuvgpmy/JNdEx6Yd2/SHQ5BkrO/TUc/FIx DKM/ImFQPd+PUNSGGjLPxpA3NNZwlIG8XJt3bbva7A5zo1obRj/InmJbfXbI/rvCL9eM dthdk6PqvxqwlC6iHbebDTf/YWL2D7tabwh8dRj5Jd7fzMoRyE29rcmqqVtHtqnrS7Rp IjhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GVucbqKA; 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 dc18si944251edb.426.2021.02.15.05.30.08; Mon, 15 Feb 2021 05:30:32 -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=@gmail.com header.s=20161025 header.b=GVucbqKA; 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 S230316AbhBON1t (ORCPT + 99 others); Mon, 15 Feb 2021 08:27:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhBON0n (ORCPT ); Mon, 15 Feb 2021 08:26:43 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B25A5C0613D6; Mon, 15 Feb 2021 05:26:02 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id my11so2670872pjb.1; Mon, 15 Feb 2021 05:26:02 -0800 (PST) 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=RBnx1kDe3EFDlt7rxj/CXQzznsDJFWB2/f3gowikweg=; b=GVucbqKADNBuLhtE40/tqMhIIHvmsEBrHZX2JPzZG3Jva06rMgLHKNEPR7PeIEW0X+ cm0XZrj9RzGC/+ORdxO+d/5rXvJPqwdj37BFYO/037M0z3WvfIIU/ufEpZcwc+oIqZAP cBqd9mJNn3D6BXTHNQR/U/noEt1S1jj/54JKGmAv6KkCx5U6gYcK13xJptBT471ZzIC1 4eoouDRxIVj74SzqcodSAx55dXr1okNdrljajoTaf2HkV2O1dpLHthVzBZkgMLbNJMGD +5RQh8C3rv49B0RdDVakZuZBuWkj/nSd/1cTIkKcWYZQ7AEhZYXd8n8dl2/ljOFVrx0R qtwg== 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=RBnx1kDe3EFDlt7rxj/CXQzznsDJFWB2/f3gowikweg=; b=Im1OX0c1gDDLdQgef+oKnOD8kZlVj3Fpp23FNslJLd2uqMwwcYl4wmSqPydx6sA4kS fc7MiyEudYbMjbrbDna9+ujjgzngLp9Lc+QzCnmsELGMvpYyqYwNh7XuAQ1jRAHl2Ca8 TBBDBdwOX0uIiUEXqPgVd8Jzc3F7S9wJA+bJHCz67zmfX85eFvLTnSPWkoqsyoOImClz o9zStgR5bkmWgWg6DxTDPZ+D6IFFgRgQm9/VNJOGF1EA4hx0gVuaJBZAIIiyBH+jaNAv b0RcdSi/9BQlFJy6JZ5JtfIq4sYRm0OEFrz3Qn9TEe+M8S/XBl8fSgl3yTsB+9K9aS9n pNPg== X-Gm-Message-State: AOAM530yvW/UAztdf/s5ZSithqXo8u3iVxGZH/vROiXA9rn9DPGuZ1HE aP3Pammp6D4xespQEoCbQx3tgBchLD0qstMfkss= X-Received: by 2002:a17:902:eac1:b029:e3:4940:541d with SMTP id p1-20020a170902eac1b02900e34940541dmr8159981pld.21.1613395562273; Mon, 15 Feb 2021 05:26:02 -0800 (PST) MIME-Version: 1.0 References: <20210214132153.575350-1-zhengdejin5@gmail.com> <20210214132153.575350-2-zhengdejin5@gmail.com> In-Reply-To: <20210214132153.575350-2-zhengdejin5@gmail.com> From: Andy Shevchenko Date: Mon, 15 Feb 2021 15:25:46 +0200 Message-ID: Subject: Re: [PATCH 1/3] dmaengine: hsu: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions To: Dejin Zheng Cc: Gustavo Pimentel , Vinod Koul , Zhou Wang , Ferry Toth , qiuzhenfa@hisilicon.com, dmaengine , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 14, 2021 at 3:22 PM 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. > Add them. > Fixes: e9bb8a9df316a2 ("dmaengine: hsu: pci: switch to new API for IRQ allocation") Same as per others. This does not fix anything, because there is no issue. If you want to have it better, introduce a pcim_alloc_irq_vectors() to show that it's managed. -- With Best Regards, Andy Shevchenko