Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73067
b: refs/heads/master
c: 767f0d6
h: refs/heads/master
i:
  73065: f08f78a
  73063: 70788f9
v: v3
  • Loading branch information
Alejandro Martinez Ruiz authored and Paul Mundt committed Oct 29, 2007
1 parent c801cb8 commit 738ff15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: afca03574555c9af9a86d5a025f0187d0b77ac32
refs/heads/master: 767f0d68677ad19b3a85beb88f4e4dd54a047e42
4 changes: 2 additions & 2 deletions trunk/arch/sh/drivers/pci/pci-st40.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static struct pci_err int_error[]={
{ INT_MWPDI, "MWPDI: PERR from target at data write"},
{ INT_MRDPEI, "MRDPEI: Master read data parity error"}
};
#define NUM_PCI_INT_ERRS (sizeof(int_error)/sizeof(struct pci_err))
#define NUM_PCI_INT_ERRS ARRAY_SIZE(int_error)

static struct pci_err aint_error[]={
{ AINT_MBI, "MBI: Master broken"},
Expand All @@ -126,7 +126,7 @@ static struct pci_err aint_error[]={
{ AINT_WDPE, "WDPE: Write data parity"}
};

#define NUM_PCI_AINT_ERRS (sizeof(aint_error)/sizeof(struct pci_err))
#define NUM_PCI_AINT_ERRS ARRAY_SIZE(aint_error)

static void print_pci_errors(unsigned reg,struct pci_err *error,int num_errors)
{
Expand Down

0 comments on commit 738ff15

Please sign in to comment.