Thread (4 messages) 4 messages, 3 authors, 2011-03-11

Re: [PATCH 12/21] Staging: hv: Cleanup irq management

From: Hank Janssen <hidden>
Date: 2011-03-10 22:54:24
Also in: lkml





On Mar 10, 2011, at 14:46, "Thomas Gleixner" [off-list ref] wrote:
quoted
quoted
   }
-    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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help