Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66613
b: refs/heads/master
c: 8b14a53
h: refs/heads/master
i:
  66611: 1065a00
v: v3
  • Loading branch information
Denis Cheng authored and David S. Miller committed Oct 10, 2007
1 parent a50f23c commit fc3fd7a
Show file tree
Hide file tree
Showing 3 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: c40f6fff401f693f627d3d44ef7663b993943517
refs/heads/master: 8b14a536701b50559a0d69d5d593323f550db4e9
2 changes: 1 addition & 1 deletion trunk/net/atm/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc)

seq_printf(seq, "%3d %3d %5d %-3s %7d %-5s %7d %-6s",
vcc->dev->number,vcc->vpi,vcc->vci,
vcc->qos.aal >= sizeof(aal_name)/sizeof(aal_name[0]) ? "err" :
vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" :
aal_name[vcc->qos.aal],vcc->qos.rxtp.min_pcr,
class_name[vcc->qos.rxtp.traffic_class],vcc->qos.txtp.min_pcr,
class_name[vcc->qos.txtp.traffic_class]);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/decnet/dn_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static struct dn_dev_parms dn_dev_list[] = {
}
};

#define DN_DEV_LIST_SIZE (sizeof(dn_dev_list)/sizeof(struct dn_dev_parms))
#define DN_DEV_LIST_SIZE ARRAY_SIZE(dn_dev_list)

#define DN_DEV_PARMS_OFFSET(x) ((int) ((char *) &((struct dn_dev_parms *)0)->x))

Expand Down

0 comments on commit fc3fd7a

Please sign in to comment.