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/seagate.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/seagate.c')
| -rw-r--r-- | drivers/scsi/seagate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/seagate.c b/drivers/scsi/seagate.c index 0ff83ddf13fe..7fa4da4ea64f 100644 --- a/drivers/scsi/seagate.c +++ b/drivers/scsi/seagate.c | |||
| @@ -312,7 +312,7 @@ static Signature __initdata signatures[] = { | |||
| 312 | {"IBM F1 V1.2009/22/93", 5, 25, FD}, | 312 | {"IBM F1 V1.2009/22/93", 5, 25, FD}, |
| 313 | }; | 313 | }; |
| 314 | 314 | ||
| 315 | #define NUM_SIGNATURES (sizeof(signatures) / sizeof(Signature)) | 315 | #define NUM_SIGNATURES ARRAY_SIZE(signatures) |
| 316 | #endif /* n OVERRIDE */ | 316 | #endif /* n OVERRIDE */ |
| 317 | 317 | ||
| 318 | /* | 318 | /* |
| @@ -457,7 +457,7 @@ int __init seagate_st0x_detect (struct scsi_host_template * tpnt) | |||
| 457 | * space for the on-board RAM instead. | 457 | * space for the on-board RAM instead. |
| 458 | */ | 458 | */ |
| 459 | 459 | ||
| 460 | for (i = 0; i < (sizeof (seagate_bases) / sizeof (unsigned int)); ++i) { | 460 | for (i = 0; i < ARRAY_SIZE(seagate_bases); ++i) { |
| 461 | void __iomem *p = ioremap(seagate_bases[i], 0x2000); | 461 | void __iomem *p = ioremap(seagate_bases[i], 0x2000); |
| 462 | if (!p) | 462 | if (!p) |
| 463 | continue; | 463 | continue; |
