[Skiboot] [PATCH 2/2] hw/xscom: Change prerror to prlog call.

Pridhiviraj Paidipeddi ppaidipe at linux.vnet.ibm.com
Mon Nov 21 20:11:15 AEDT 2016


To make use of fwts annotations change prerror to prlog call

Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
---
 hw/xscom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/xscom.c b/hw/xscom.c
index e51f182..7815828 100644
--- a/hw/xscom.c
+++ b/hw/xscom.c
@@ -440,7 +440,7 @@ int xscom_read(uint32_t partid, uint64_t pcb_addr, uint64_t *val)
 		 * someone to try an xscom_read on something that isn't a
 		 * processor, Centaur or EX chiplet.
 		 */
-		prerror("%s: invalid XSCOM partid 0x%x\n", __func__, partid);
+		prlog(PR_ERR, "%s: invalid XSCOM partid 0x%x\n", __func__, partid);
 		return OPAL_PARAMETER;
 	}
 
@@ -483,7 +483,7 @@ int xscom_write(uint32_t partid, uint64_t pcb_addr, uint64_t val)
 		 * someone to try an xscom_write on something that isn't a
 		 * processor, Centaur or EX chiplet.
 		 */
-		prerror("%s: invalid XSCOM partid 0x%x\n", __func__, partid);
+		prlog(PR_ERR, "%s: invalid XSCOM partid 0x%x\n", __func__, partid);
 		return OPAL_PARAMETER;
 	}
 
-- 
2.7.4



More information about the Skiboot mailing list