From: Hank Janssen Subject: Re: [PATCH 12/21] Staging: hv: Cleanup irq management Date: Thu, 10 Mar 2011 22:54:20 +0000 Message-ID: References: <[PATCH 00/21] Staging: hv: Cleanup vmbus driver> <1299794933-1259-1-git-send-email-kys@microsoft.com>, Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Thomas Gleixner Cc: KY Srinivasan , "gregkh@suse.de" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "virtualization@lists.osdl.org" , Haiyang Zhang , Mike Sterling , "Abhishek Kane (Mindtree Consulting PVT LTD)" List-Id: virtualization@lists.linuxfoundation.org On Mar 10, 2011, at 14:46, "Thomas Gleixner" wrote: >> > >> } >> - vector = VMBUS_IRQ_VECTOR; >> >> - DPRINT_INFO(VMBUS_DRV, "irq 0x%x vector 0x%x", vmbus_irq, vector); >> + vector = IRQ0_VECTOR + pdev->irq; >> + DPRINT_INFO(VMBUS_DRV, "irq 0x%x vector 0x%x", pdev->irq, >> + IRQ0_VECTOR + pdev->irq); > > Why evaluating vector first and then not using it for that debug print > thingy? > > Btw, are you going to replace that DPRINT_* stuff as well ? > > Thanks, > > Yes, that is in my next set of patches. Hank