From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [PATCH v8 08/14] eal/linux/pci: Add functions for unmapping igb_uio resources Date: Wed, 18 Feb 2015 18:37:19 +0900 Message-ID: <54E45D4F.7080001@igel.co.jp> References: <1423470639-15744-2-git-send-email-mukawa@igel.co.jp> <2770102.I27SuxhSqW@xps13> <54E2DC82.8070901@igel.co.jp> <3062823.xy5khOG9OG@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon Return-path: In-Reply-To: <3062823.xy5khOG9OG@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 2015/02/18 10:09, Thomas Monjalon wrote: > 2015-02-17 15:15, Tetsuya Mukawa: >> On 2015/02/17 10:11, Thomas Monjalon wrote: >>> 2015-02-16 13:14, Tetsuya Mukawa: >>>> +#ifdef ENABLE_HOTPLUG >>> Please avoid using #ifdef if not really necessary. >> I agree with you. >> In this case, only hotplug functions call pci_unmap_resource(). >> So this will be needed. > Why is it needed? It was my misunderstanding. Yes, we can remove it. I will fix it. Thanks, Tetsuya