Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf82703d authored by Stefan Richter's avatar Stefan Richter
Browse files

ieee1394: ohci1394: fix endianess bug in debug message



The transaction labels were misprinted int the debug printk "Packet
received from node..." due two byte-swapping once too often.  Affected
were big endian machines, except UniNorth based ones.  Fix tested by
Wolfgang Pfeiffer.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 98e238cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2739,7 +2739,7 @@ static void dma_rcv_tasklet (unsigned long data)
				(cond_le32_to_cpu(d->spb[length/4-1], ohci->no_swap_incoming)>>16)&0x1f,
				(cond_le32_to_cpu(d->spb[length/4-1], ohci->no_swap_incoming)>>21)&0x3,
				tcode, length, d->ctx,
				(cond_le32_to_cpu(d->spb[0], ohci->no_swap_incoming)>>10)&0x3f);
				(d->spb[0]>>10)&0x3f);

			ack = (((cond_le32_to_cpu(d->spb[length/4-1], ohci->no_swap_incoming)>>16)&0x1f)
				== 0x11) ? 1 : 0;