lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] Use PHYSDEVOP_get_free_pirq to implement find_unbound_pirq
> @@ -611,9 +615,9 @@ int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name)
>
> spin_lock(&irq_mapping_update_lock);
>
> - if ((pirq > nr_pirqs) || (gsi > nr_irqs)) {
> + if ((pirq > nr_irqs) || (gsi > nr_irqs)) {
> printk(KERN_WARNING "xen_map_pirq_gsi: %s %s is incorrect!\n",
> - pirq > nr_pirqs ? "nr_pirqs" :"",
> + pirq > nr_irqs ? "nr_pirqs" :"",

Seems odd to print "nr_pirqs" when that is out of the code.

> gsi > nr_irqs ? "nr_irqs" : "");


\
 
 \ /
  Last update: 2010-11-29 16:31    [W:0.035 / U:2.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site