Messages in this thread | | | Date | Sat, 12 Apr 2008 18:14:37 +0200 (CEST) | From | Stefan Richter <> | Subject | Re: [PATCH 1/2] firewire: fw-ohci: fix debug logging of phy packets |
| |
I wrote: > --- linux.orig/drivers/firewire/fw-ohci.c > +++ linux/drivers/firewire/fw-ohci.c > @@ -371,10 +371,10 @@ static void log_ar_at_event(char dir, in > if (unlikely(evt >= ARRAY_SIZE(evts))) > evt = 0x1f; > > - if (header[0] == ~header[1]) { > + if (header[1] == ~header[2]) { > printk(KERN_DEBUG "A%c %s, %s, %08x\n", > - dir, evts[evt], phys[header[0] >> 30 & 0x3], > - header[0]); > + dir, evts[evt], phys[header[1] >> 30 & 0x3], > + header[1]);
This patch is bogus. The indices were right. -- Stefan Richter -=====-==--- -=-- -==-- http://arcgraph.de/sr/
| |