diff options
author | Timur Tabi <timur@freescale.com> | 2008-03-03 11:11:30 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-03-07 08:55:02 -0600 |
commit | 6f913160fa8e8de5ea2746a2f6b1d65c67e092b0 (patch) | |
tree | f1384597b8402da383df8cb9b34d39ca2bbe5efb /arch/powerpc/sysdev/qe_lib | |
parent | a55387e5ad903dec4e281907e4d8e74679ae60e2 (diff) |
[POWERPC] QE: Fix QE firmware uploading limit
Fix a typo in qe_upload_firmware() that prevented uploading firmware on
systems with more than one RISC core.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib')
-rw-r--r-- | arch/powerpc/sysdev/qe_lib/qe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c index 6efbd5e5bb1..f963fbf21ef 100644 --- a/arch/powerpc/sysdev/qe_lib/qe.c +++ b/arch/powerpc/sysdev/qe_lib/qe.c @@ -509,7 +509,7 @@ int qe_upload_firmware(const struct qe_firmware *firmware) } /* Validate some of the fields */ - if ((firmware->count < 1) || (firmware->count >= MAX_QE_RISC)) { + if ((firmware->count < 1) || (firmware->count > MAX_QE_RISC)) { printk(KERN_ERR "qe-firmware: invalid data\n"); return -EINVAL; } |