Re: [PATCH 1/2] powerpc/powernv: Change BUG_ON to WARN_ON in elog code

2014-07-23 Thread Stewart Smith
Vasant Hegde writes: > 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 Mavin

[PATCH 1/2] powerpc/powernv: Change BUG_ON to WARN_ON in elog code

2014-07-23 Thread Vasant Hegde
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 Dharwa