diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-15 06:00:02 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-15 06:00:02 +0200 |
commit | 4b6b987969b076298485697bfb0d0e35502642a3 (patch) | |
tree | a8f5ebd6a0b9efbe30272012d759669b0c5ddc13 /drivers/parisc/pdc_stable.c | |
parent | sh: Runtime PM pdev hwblk - Solution Engine 7724 (diff) | |
parent | Merge branch 'sh/stable-updates' (diff) | |
download | linux-4b6b987969b076298485697bfb0d0e35502642a3.tar.xz linux-4b6b987969b076298485697bfb0d0e35502642a3.zip |
Merge branch 'master' into sh/hwblk
Diffstat (limited to 'drivers/parisc/pdc_stable.c')
-rw-r--r-- | drivers/parisc/pdc_stable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c index f9f9a5f1bbd0..13a64bc081b6 100644 --- a/drivers/parisc/pdc_stable.c +++ b/drivers/parisc/pdc_stable.c @@ -370,7 +370,7 @@ pdcspath_layer_read(struct pdcspath_entry *entry, char *buf) if (!i) /* entry is not ready */ return -ENODATA; - for (i = 0; devpath->layers[i] && (likely(i < 6)); i++) + for (i = 0; i < 6 && devpath->layers[i]; i++) out += sprintf(out, "%u ", devpath->layers[i]); out += sprintf(out, "\n"); |