From 305ace5ab578f5c6b6c3b84a6b6d63c8b86df11f Mon Sep 17 00:00:00 2001 From: Eric Sesterhenn Date: Tue, 26 Sep 2006 14:22:00 +0200 Subject: [PATCH] --- yaml --- r: 36656 b: refs/heads/master c: d1d8f7dec179a421d6d449ddcd1713ed55db40be h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/common/icst307.c | 4 ++-- trunk/arch/arm/common/icst525.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 285163a24e54..db9d9fbef619 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 576b3ef2495c732a56509febd5de5144f3ebccf6 +refs/heads/master: d1d8f7dec179a421d6d449ddcd1713ed55db40be diff --git a/trunk/arch/arm/common/icst307.c b/trunk/arch/arm/common/icst307.c index bafe8b19be82..6d094c157540 100644 --- a/trunk/arch/arm/common/icst307.c +++ b/trunk/arch/arm/common/icst307.c @@ -57,7 +57,7 @@ icst307_khz_to_vco(const struct icst307_params *p, unsigned long freq) break; } while (i < ARRAY_SIZE(idx2s)); - if (i > ARRAY_SIZE(idx2s)) + if (i >= ARRAY_SIZE(idx2s)) return vco; vco.s = idx2s[i]; @@ -119,7 +119,7 @@ icst307_ps_to_vco(const struct icst307_params *p, unsigned long period) break; } while (i < ARRAY_SIZE(idx2s)); - if (i > ARRAY_SIZE(idx2s)) + if (i >= ARRAY_SIZE(idx2s)) return vco; vco.s = idx2s[i]; diff --git a/trunk/arch/arm/common/icst525.c b/trunk/arch/arm/common/icst525.c index 943ef88c0379..3d377c5bdef6 100644 --- a/trunk/arch/arm/common/icst525.c +++ b/trunk/arch/arm/common/icst525.c @@ -55,7 +55,7 @@ icst525_khz_to_vco(const struct icst525_params *p, unsigned long freq) break; } while (i < ARRAY_SIZE(idx2s)); - if (i > ARRAY_SIZE(idx2s)) + if (i >= ARRAY_SIZE(idx2s)) return vco; vco.s = idx2s[i]; @@ -118,7 +118,7 @@ icst525_ps_to_vco(const struct icst525_params *p, unsigned long period) break; } while (i < ARRAY_SIZE(idx2s)); - if (i > ARRAY_SIZE(idx2s)) + if (i >= ARRAY_SIZE(idx2s)) return vco; vco.s = idx2s[i];