Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp379751ybg; Tue, 9 Jun 2020 03:04:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwX+rIbcV06t9Lpgl2mGduqsqUKOJ4xGpYCCt2HNfWaEek+w0XTjkDBsnKim8DHB78PgUC/ X-Received: by 2002:a50:ec1a:: with SMTP id g26mr5925288edr.289.1591697069213; Tue, 09 Jun 2020 03:04:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591697069; cv=none; d=google.com; s=arc-20160816; b=neuH66ih2QLmekfGbkdlk/60eRFXsVRhubnwA77nvKo9sb5Jf5Ngyeb6O7jxh6/NYP nBiNDQaAhZMDQHQjAVTcqOd9mqKsdCqn2Ney3eEym08aJ+QijviriNi6oeaSQCoGrnqQ S6Ea+i5LDuo/ravJZ2bfl9k6cBwf4c8E1wiku4xjD/gmui5LH+pOphA9N4s7reEaKjhl ng2RBTpuLxNgqhAYdXzEt5oKEkKFQzOHgdDXnBoCcs/2Y2mNTZB109LLPduaU3BBgN0Y npSbriYgwp7NtbQFopfrEXyftrbsDCE8GRLX7D8FgntVGlonhGwFVUKDzxzQh2Nt83x+ aRVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=1C3FM03b8CvcpqfwTDa/rLeNk7+WsLSxdO1Jf92/5hs=; b=Tj33gKSSj45S+0PF8AvJLZ82BIM5UeqQTSn+N0P8nPWTEow/TIA71O84aLF9V7v/eO 195QTX5oqdabKSFe1uDJtq4eU3REnyUWLPhyrxy5kMnBmXXkbX2pBUvsah2U8ylUi9Tj Cpbjsi0lo5Xrw2dF05GQB6KJ9jFu1GbOBkO1yaWmurqXb2xpTBuBwblacZPVQ8yv+UE6 UhwkUBJV0Xx2n8L7egK/t1XyX4k9F8z+fnqB/7iSv+gMROhtCb9cd9aEXppswJ3nfVBS aca3y2OqnEAwp+P6FjjZWftdf8oeGZs+MxwlzKC53Dbzhv2v9nzyNi9/EOuQnqtovGIu yJSQ== 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 vr3si9894750ejb.520.2020.06.09.03.04.05; Tue, 09 Jun 2020 03:04:29 -0700 (PDT) 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 S1728599AbgFIKB3 (ORCPT + 99 others); Tue, 9 Jun 2020 06:01:29 -0400 Received: from mga09.intel.com ([134.134.136.24]:27198 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbgFIKB1 (ORCPT ); Tue, 9 Jun 2020 06:01:27 -0400 IronPort-SDR: EWZ3YvaOzfvJjuc9f/Zh0wplIB29dsZJEmRFLSjXjRgHX3NFXirs+p3oB3zf9YsCbPU2BFRY8T INVU+8TApeJg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2020 03:01:26 -0700 IronPort-SDR: ACl2+c3q8DAeTm1vQ0OVYA5vGbVYr6sTBmPemDdI5y3hdQ/aDkaxbbL637EwZ8MEAf38MD3Cru HmkMNskXO8jw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,491,1583222400"; d="scan'208";a="447075409" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga005.jf.intel.com with ESMTP; 09 Jun 2020 03:01:24 -0700 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1jib4R-00Brpc-3G; Tue, 09 Jun 2020 13:01:27 +0300 Date: Tue, 9 Jun 2020 13:01:27 +0300 From: Andy Shevchenko To: Piotr Stankiewicz Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Gustavo Pimentel , Dan Williams , Vinod Koul , Arnd Bergmann , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 06/15] dmaengine: dw-edma: Use PCI_IRQ_MSI_TYPES where appropriate Message-ID: <20200609100127.GA2428291@smile.fi.intel.com> References: <20200609091148.32749-1-piotr.stankiewicz@intel.com> <20200609091751.1065-1-piotr.stankiewicz@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200609091751.1065-1-piotr.stankiewicz@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 09, 2020 at 11:17:47AM +0200, Piotr Stankiewicz wrote: > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko I think I saw somebody gave you tag here... Am I mistaken? ... > nr_irqs = pci_alloc_irq_vectors(pdev, 1, pdata->irqs, > - PCI_IRQ_MSI | PCI_IRQ_MSIX); > + PCI_IRQ_MSI_TYPES); Now one line? -- With Best Regards, Andy Shevchenko