[Skiboot] [PATCH] libflash/blocklevel: suppress debug printout

Stewart Smith stewart at linux.vnet.ibm.com
Fri Oct 6 14:45:47 AEDT 2017


while this is PR_DEBUG, and we shouldn't be printing it to the
console, we do because of a long standing bug in how we do
log priorities. So, for the moment at least, just don't print
it at all.

Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 libflash/blocklevel.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c
index 33d5c5d2f746..eaab431adc04 100644
--- a/libflash/blocklevel.c
+++ b/libflash/blocklevel.c
@@ -531,7 +531,6 @@ static bool insert_bl_prot_range(struct blocklevel_range *ranges, struct bl_prot
 	for (i = 0; i < ranges->n_prot && len > 0; i++) {
 		if (prot[i].start <= pos && prot[i].start + prot[i].len >= pos + len) {
 			len = 0;
-			FL_DBG("%s: breaking early\n", __func__);
 			break; /* Might as well, the next two conditions can't be true */
 		}
 
-- 
2.13.6



More information about the Skiboot mailing list