Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58328
b: refs/heads/master
c: ecea573
h: refs/heads/master
v: v3
  • Loading branch information
Andi Drebes authored and Bartlomiej Zolnierkiewicz committed Jul 9, 2007
1 parent 94b431f commit 2c11f32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: f50f9d8867b95925078ba0fa450e3a5736629d28
refs/heads/master: ecea57309e826c8aed020e4dae92b368f2eda2a5
2 changes: 1 addition & 1 deletion trunk/drivers/ide/legacy/hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ struct hd_i_struct {

#ifdef HD_TYPE
static struct hd_i_struct hd_info[] = { HD_TYPE };
static int NR_HD = ((sizeof (hd_info))/(sizeof (struct hd_i_struct)));
static int NR_HD = ARRAY_SIZE(hd_info);
#else
static struct hd_i_struct hd_info[MAX_HD];
static int NR_HD;
Expand Down

0 comments on commit 2c11f32

Please sign in to comment.