projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a55387e
)
[POWERPC] QE: Fix QE firmware uploading limit
author
Timur Tabi
<timur@freescale.com>
Mon, 3 Mar 2008 17:11:30 +0000
(11:11 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Fri, 7 Mar 2008 14:55:02 +0000
(08:55 -0600)
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>
arch/powerpc/sysdev/qe_lib/qe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/qe_lib/qe.c
b/arch/powerpc/sysdev/qe_lib/qe.c
index 6efbd5e5bb1b6f1b8119ed8ccf7e8ed35591a015..f963fbf21ef021bd85566dbf3e469375ab7621bc 100644
(file)
--- 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;
}