projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242b494
)
IB/hfi1: Allow meta version 4 for platform configuration
author
Jakub Byczkowski
<
[email protected]
>
Mon, 9 Oct 2017 19:37:56 +0000
(12:37 -0700)
committer
Doug Ledford
<
[email protected]
>
Wed, 18 Oct 2017 14:12:59 +0000
(10:12 -0400)
Parsing of platform configuration format 4 will fail on meta
version check. Allow meta version 4 during parsing.
Reviewed-by: Jan Sokolowski <
[email protected]
>
Reviewed-by: Ira Weiny <
[email protected]
>
Signed-off-by: Jakub Byczkowski <
[email protected]
>
Signed-off-by: Dennis Dalessandro <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
drivers/infiniband/hw/hfi1/firmware.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hfi1/firmware.c
b/drivers/infiniband/hw/hfi1/firmware.c
index 5aea8f47e670a18be4f2ff29b423c28a74763e67..001698b744ee08a1003b9eecad5c3d5880234110 100644
(file)
--- a/
drivers/infiniband/hw/hfi1/firmware.c
+++ b/
drivers/infiniband/hw/hfi1/firmware.c
@@
-1733,7
+1733,7
@@
static int check_meta_version(struct hfi1_devdata *dd, u32 *system_table)
ver_start /= 8;
meta_ver = *((u8 *)system_table + ver_start) & ((1 << ver_len) - 1);
- if (meta_ver <
5
) {
+ if (meta_ver <
4
) {
dd_dev_info(
dd, "%s:Please update platform config\n", __func__);
return -EINVAL;