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-08 20:50:36 -0600
commit606a5a3d44e3271e5177bb925d043c8ce48cdaa3 (patch)
tree1ad98c56b9c43a855c638996b706167a47d9dca1
parent971a1a0a620a8133c02206571f37a869c2cc06ef (diff)
downloadskiboot-606a5a3d44e3271e5177bb925d043c8ce48cdaa3.zip
skiboot-606a5a3d44e3271e5177bb925d043c8ce48cdaa3.tar.gz
skiboot-606a5a3d44e3271e5177bb925d043c8ce48cdaa3.tar.bz2
hiomap: quieten warning on failing to move a window
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;
}