-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base: patch ipmiComm to handle
CODE_DESTINATION_UNAVAIL
.
- Loading branch information
1 parent
93f7644
commit ad3925b
Showing
5 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
From: https://github.com/slac-epics-modules/ipmiComm/pull/33/ | ||
diff --git a/src/drvMch.c b/src/drvMch.c | ||
index 33e9b00..8a057d0 100644 | ||
--- a/src/drvMch.c | ||
+++ b/src/drvMch.c | ||
@@ -1340,7 +1340,7 @@ size_t tmp = sens->readMsgLength; /* Initially set to requested msg length, | ||
|
||
/* If error code ... */ | ||
if ( rval ) { | ||
- if ( rval == IPMI_COMP_CODE_REQUESTED_DATA ) | ||
+ if ( rval == IPMI_COMP_CODE_REQUESTED_DATA || rval == IPMI_COMP_CODE_DESTINATION_UNAVAIL ) | ||
sens->unavail = 1; | ||
return -1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters