Commit 378a545954abfec1c9499203206e0ffb5c2118d2

Authored by Giuseppe Sacco
Committed by Ralf Baechle
1 parent e2a57a8159

[MIPS] IP32: Fix fatal typo in address computation.

Signed-off-by: Giuseppe Sacco <eppesuig@debian.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/mips/pci/ops-mace.c
... ... @@ -33,7 +33,7 @@
33 33 unsigned int reg)
34 34 {
35 35 return ((bus->number & 0xff) << 16) |
36   - (devfn & 0xff) << 8) |
  36 + ((devfn & 0xff) << 8) |
37 37 (reg & 0xfc);
38 38 }
39 39