Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47963
b: refs/heads/master
c: fd863db
h: refs/heads/master
i:
  47961: 64f3afd
  47959: a33dd4e
v: v3
  • Loading branch information
Ahmed S. Darwish authored and Linus Torvalds committed Feb 12, 2007
1 parent 88c5c5a commit b06f077
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: fc238b3791447b93c69cd50a99dfcaad6162afba
refs/heads/master: fd863db937c0d30679d4bd5329653adb46b66627
4 changes: 2 additions & 2 deletions trunk/drivers/isdn/capi/capi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ static struct procfsentries {

static void __init proc_init(void)
{
int nelem = sizeof(procfsentries)/sizeof(procfsentries[0]);
int nelem = ARRAY_SIZE(procfsentries);
int i;

for (i=0; i < nelem; i++) {
Expand All @@ -1468,7 +1468,7 @@ static void __init proc_init(void)

static void __exit proc_exit(void)
{
int nelem = sizeof(procfsentries)/sizeof(procfsentries[0]);
int nelem = ARRAY_SIZE(procfsentries);
int i;

for (i=nelem-1; i >= 0; i--) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/isdn/capi/capidrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ static struct procfsentries {

static void __init proc_init(void)
{
int nelem = sizeof(procfsentries)/sizeof(procfsentries[0]);
int nelem = ARRAY_SIZE(procfsentries);
int i;

for (i=0; i < nelem; i++) {
Expand All @@ -2230,7 +2230,7 @@ static void __init proc_init(void)

static void __exit proc_exit(void)
{
int nelem = sizeof(procfsentries)/sizeof(procfsentries[0]);
int nelem = ARRAY_SIZE(procfsentries);
int i;

for (i=nelem-1; i >= 0; i--) {
Expand Down

0 comments on commit b06f077

Please sign in to comment.