projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix QE firmware uploading limit
[platform/kernel/u-boot.git]
/
drivers
/
qe
/
qe.c
diff --git
a/drivers/qe/qe.c
b/drivers/qe/qe.c
index
63acfa3
..
7b6ecd7
100644
(file)
--- a/
drivers/qe/qe.c
+++ b/
drivers/qe/qe.c
@@
-334,7
+334,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)) {
printf("Invalid data\n");
return -EINVAL;
}