diff options
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-fix-testfail-errors.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/openhpi/files/openhpi-fix-testfail-errors.patch | 33 | 
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-testfail-errors.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-testfail-errors.patch deleted file mode 100644 index 60e2e79191..0000000000 --- a/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-testfail-errors.patch +++ /dev/null  | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | Fix for saftest failures. | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | |||
| 5 | Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> | ||
| 6 | |||
| 7 | Index: openhpi-3.6.1/openhpid/safhpi.c | ||
| 8 | =================================================================== | ||
| 9 | --- openhpi-3.6.1.orig/openhpid/safhpi.c | ||
| 10 | +++ openhpi-3.6.1/openhpid/safhpi.c | ||
| 11 | @@ -1933,7 +1933,7 @@ SaErrorT SAHPI_API saHpiSensorThresholds | ||
| 12 | oh_release_domain(d); /* Unlock domain */ | ||
| 13 | |||
| 14 | OH_CALL_ABI(h, set_sensor_thresholds, SA_ERR_HPI_INVALID_CMD, rv, | ||
| 15 | - ResourceId, SensorNum, SensorThresholds); | ||
| 16 | + ResourceId, SensorNum, &tmp); | ||
| 17 | oh_release_handler(h); | ||
| 18 | |||
| 19 | return rv; | ||
| 20 | Index: openhpi-3.6.1/utils/sahpi_struct_utils.c | ||
| 21 | =================================================================== | ||
| 22 | --- openhpi-3.6.1.orig/utils/sahpi_struct_utils.c | ||
| 23 | +++ openhpi-3.6.1/utils/sahpi_struct_utils.c | ||
| 24 | @@ -3861,6 +3861,9 @@ SaHpiBoolT oh_valid_textbuffer(SaHpiText | ||
| 25 | /* found a unpaired surrogate */ | ||
| 26 | return SAHPI_FALSE; | ||
| 27 | } | ||
| 28 | + } else { | ||
| 29 | + /*the first 2 bytes wrong*/ | ||
| 30 | + return SAHPI_FALSE; | ||
| 31 | } | ||
| 32 | } | ||
| 33 | break; | ||
