From: Vasant Hegde Date: Wed, 23 Jul 2014 09:22:39 +0000 (+0530) Subject: powerpc/powernv: Change BUG_ON to WARN_ON in elog code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~220^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa952c54ba13deeb91cd4c7af255cdb5f1273535;p=pandora-kernel.git powerpc/powernv: Change BUG_ON to WARN_ON in elog code We can continue to read the error log (up to MAX size) even if we get the elog size more than MAX size. Hence change BUG_ON to WARN_ON. Also updated error message. Reported-by: Gopesh Kumar Chaudhary Signed-off-by: Vasant Hegde Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Deepthi Dharwar Acked-by: Stewart Smith Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed