linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix QE firmware uploading limit
@ 2008-03-03 17:11 Timur Tabi
  2008-03-07 15:06 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2008-03-03 17:11 UTC (permalink / raw)
  To: galak, linuxppc-dev; +Cc: 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 <timur@freescale.com>
---

This patch is for 2.6.25.

 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 6efbd5e..f963fbf 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;
 	}
-- 
1.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix QE firmware uploading limit
  2008-03-03 17:11 [PATCH] fix QE firmware uploading limit Timur Tabi
@ 2008-03-07 15:06 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2008-03-07 15:06 UTC (permalink / raw)
  To: Timur Tabi; +Cc: linuxppc-dev


On Mar 3, 2008, at 11:11 AM, Timur Tabi wrote:

> 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>
> ---
>
> This patch is for 2.6.25.
>
> arch/powerpc/sysdev/qe_lib/qe.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied.

- k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-07 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-03 17:11 [PATCH] fix QE firmware uploading limit Timur Tabi
2008-03-07 15:06 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).