fix QE firmware uploading limit
PATCH 1/1 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 <[email protected]>
---
This patch is for 2.6.25.
arch/powerpc/sysdev/qe_lib/qe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/sysdev/qe_lib/qe.c +1 -1
@@ -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 ; }
Signature · 1 line
1.5.4
Kumar Gala
AppliedQuoted 10 lines · Timur Tabi
Fix a typo in
qe_upload_firmware()that prevented uploading firmware on systems with more than one RISC core.Signed-off-by Timur Tabi <[email protected]>---
This patch is for 2.6.25.
arch/powerpc/sysdev/qe_lib/qe.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)
applied.
- k