Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp711328ybz; Wed, 15 Apr 2020 17:15:50 -0700 (PDT) X-Google-Smtp-Source: APiQypJzftCuiB+8Xtt8C6O/qGOWZQ6+q2NF65JpGDN8/8dsiIA9k/kaKnqDsist2xtVK2UWiAAn X-Received: by 2002:a17:906:3291:: with SMTP id 17mr7165810ejw.343.1586996150295; Wed, 15 Apr 2020 17:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586996150; cv=none; d=google.com; s=arc-20160816; b=aZ1F3xtujqJYd/byKHg+nPd/aML7SoLPpXs9qAu9POwjzs36dNfJ7qrr7wNK3+Z+HD Segzxnqx8/AWIs4vyeC7mEf1Ze/fyCQsj3JS8KEjhIFHKdvusyIrFVpuxXqfPDQNKOzN PMMn3hbNBkpVIL3tju6OtAdEkqPbcX2a66KzAkB6UJkWIG1DltJMltuTQzVHhVEHcKBn BC4GTG59/uvvYcVT1ytlYx58BZdCDZmyC/x29U09CHlVua98LvwTATJDXuRJeezD4eTG ZmCUCj3FSGYvzGcScUT5PRirQyo6wZeojDG3GQuvlGRBDCglclcGOiYe2oitFgwSI/Ts t80A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=G1zHMKlhizwLBwD2slVTQ7jP8Ue1CVU7RWBBi5o6oFQ=; b=bsrCFZWfBf5orzGmmMZ6VwRcTYy7DVZ7OsuLJq7pVephHnUrcuEipeQmeJ+7AX57f5 nuLJGJ6Cb+bVCe/NcYNgSFMx1h2bjwKL+6Rcc1QBA4OGpSR5pAQKM2dZDL2V8kBUk7ao fOaGmVCrt45bIoe31pz3DWP1iCMb8Z3bojuP8TgsqWYH6yf6JH2Zm43tTGChLjhqUXyf PjzSGVfBZkYDL2Oy0k6u8hWV+15f+S190J0geBS7WFUOJ5Y9xWo51c8O4hgVB7Kowouc dx9o7OWW3G+3WstMPNEAGCdWUMUsq3rZclW3FapoLkA4xRQ4NBYTShhJsfazdyv3WuNA 9g9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EAmZxtzK; 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 k11si8893418ejp.508.2020.04.15.17.15.27; Wed, 15 Apr 2020 17:15:50 -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; dkim=pass header.i=@kernel.org header.s=default header.b=EAmZxtzK; 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 S2393635AbgDOPtX (ORCPT + 99 others); Wed, 15 Apr 2020 11:49:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:45472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393546AbgDOPtS (ORCPT ); Wed, 15 Apr 2020 11:49:18 -0400 Received: from localhost (unknown [106.201.106.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A36492078B; Wed, 15 Apr 2020 15:49:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586965757; bh=c5y9Y4yIDglWOG9E8enpugzXn4iH8yD0W/8RIcdt1lM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EAmZxtzKxjkDj0JRWqMTRlT1PND4RoTQ7ntcKBwxwwdqUrYW66/zaGmxoCISjfeHG eY/MfDqyyGVKlFwIpBEIPool87kweImz1XSi10UaxFFCHWTCpC2HiQmsqpQLH4zSzV USnstUidoZL3ycUTzn8Z6EmDQzVtM55BmOSAgt84= Date: Wed, 15 Apr 2020 21:19:06 +0530 From: Vinod Koul To: YueHaibing Cc: dan.j.williams@intel.com, wangzhou1@hisilicon.com, qiuzhenfa@hisilicon.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] dmaengine: hisilicon: Fix build error without PCI_MSI Message-ID: <20200415154906.GR72691@vkoul-mobl> References: <20200328114133.17560-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200328114133.17560-1-yuehaibing@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28-03-20, 19:41, YueHaibing wrote: > If PCI_MSI is not set, building fais: > > drivers/dma/hisi_dma.c: In function ‘hisi_dma_free_irq_vectors’: > drivers/dma/hisi_dma.c:138:2: error: implicit declaration of function ‘pci_free_irq_vectors’; > did you mean ‘pci_alloc_irq_vectors’? [-Werror=implicit-function-declaration] > pci_free_irq_vectors(data); > ^~~~~~~~~~~~~~~~~~~~ > > Make HISI_DMA depends on PCI_MSI to fix this. Applied, thanks -- ~Vinod