aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-11-08 18:43:47 +1100
committerStewart Smith <stewart@linux.ibm.com>2018-11-09 17:01:23 +1100
commite02e17b713d5b8c77ca9680f4b9a4784282e5b74 (patch)
treef258d7b565a8e35fb075f5791dd86f98a82b4e4c
parent83bf0c16728083053dec6a5b3683d80d4428cfc7 (diff)
downloadskiboot-e02e17b713d5b8c77ca9680f4b9a4784282e5b74.zip
skiboot-e02e17b713d5b8c77ca9680f4b9a4784282e5b74.tar.gz
skiboot-e02e17b713d5b8c77ca9680f4b9a4784282e5b74.tar.bz2
hiomap: quieten warning on failing to move a window
[ Upstream commit 606a5a3d44e3271e5177bb925d043c8ce48cdaa3 ] This isn't *necessarily* an error that we should complain loudly about. If, for example, the BMC enforces the Read Only flag on a FFS partition, opening a write window *should* fail, and we do indeed test this in op-test. Thus we deal with the error in a well known path: returning an error code and then it's eventually a userspace problem. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--libflash/ipmi-hiomap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libflash/ipmi-hiomap.c b/libflash/ipmi-hiomap.c
index e2b64fe..ac47a10 100644
--- a/libflash/ipmi-hiomap.c
+++ b/libflash/ipmi-hiomap.c
@@ -277,7 +277,7 @@ static bool hiomap_window_move(struct ipmi_hiomap *ctx, uint8_t command,
ipmi_queue_msg_sync(msg);
if (res.cc != IPMI_CC_NO_ERROR) {
- prerror("%s failed: %d\n", __func__, res.cc);
+ prlog(PR_INFO, "%s failed: %d\n", __func__, res.cc);
return false;
}