diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
| commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
| tree | 421fa29aedff988e392f92780637553e275d37a0 /drivers/scsi/fdomain.c | |
| parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
| parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'drivers/scsi/fdomain.c')
| -rw-r--r-- | drivers/scsi/fdomain.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/fdomain.c b/drivers/scsi/fdomain.c index 7334244397d1..e16013f0ad6e 100644 --- a/drivers/scsi/fdomain.c +++ b/drivers/scsi/fdomain.c | |||
| @@ -420,10 +420,10 @@ static unsigned long addresses[] = { | |||
| 420 | 0xd0000, | 420 | 0xd0000, |
| 421 | 0xe0000, | 421 | 0xe0000, |
| 422 | }; | 422 | }; |
| 423 | #define ADDRESS_COUNT (sizeof( addresses ) / sizeof( unsigned )) | 423 | #define ADDRESS_COUNT ARRAY_SIZE(addresses) |
| 424 | 424 | ||
| 425 | static unsigned short ports[] = { 0x140, 0x150, 0x160, 0x170 }; | 425 | static unsigned short ports[] = { 0x140, 0x150, 0x160, 0x170 }; |
| 426 | #define PORT_COUNT (sizeof( ports ) / sizeof( unsigned short )) | 426 | #define PORT_COUNT ARRAY_SIZE(ports) |
| 427 | 427 | ||
| 428 | static unsigned short ints[] = { 3, 5, 10, 11, 12, 14, 15, 0 }; | 428 | static unsigned short ints[] = { 3, 5, 10, 11, 12, 14, 15, 0 }; |
| 429 | 429 | ||
| @@ -502,7 +502,7 @@ static struct signature { | |||
| 502 | geometry location are verified). */ | 502 | geometry location are verified). */ |
| 503 | }; | 503 | }; |
| 504 | 504 | ||
| 505 | #define SIGNATURE_COUNT (sizeof( signatures ) / sizeof( struct signature )) | 505 | #define SIGNATURE_COUNT ARRAY_SIZE(signatures) |
| 506 | 506 | ||
| 507 | static void print_banner( struct Scsi_Host *shpnt ) | 507 | static void print_banner( struct Scsi_Host *shpnt ) |
| 508 | { | 508 | { |
| @@ -519,7 +519,7 @@ static void print_banner( struct Scsi_Host *shpnt ) | |||
| 519 | 519 | ||
| 520 | if (bios_minor >= 0) printk("%d", bios_minor); | 520 | if (bios_minor >= 0) printk("%d", bios_minor); |
| 521 | else printk("?."); | 521 | else printk("?."); |
| 522 | 522 | ||
| 523 | printk( " at 0x%lx using scsi id %d\n", | 523 | printk( " at 0x%lx using scsi id %d\n", |
| 524 | bios_base, shpnt->this_id ); | 524 | bios_base, shpnt->this_id ); |
| 525 | } | 525 | } |
