Skip to content

Commit

Permalink
[MIPS] IP32: Fix fatal typo in address computation.
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Giuseppe Sacco authored and Ralf Baechle committed Oct 9, 2007
1 parent e2a57a8 commit 378a545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/pci/ops-mace.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static inline int mkaddr(struct pci_bus *bus, unsigned int devfn,
unsigned int reg)
{
return ((bus->number & 0xff) << 16) |
(devfn & 0xff) << 8) |
((devfn & 0xff) << 8) |
(reg & 0xfc);
}

Expand Down

0 comments on commit 378a545

Please sign in to comment.