summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 13:41:12 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-28 13:41:12 +1000
commitcdc2652ee581366798a9ac303b5d855ceebea8d9 (patch)
tree0cf894e6ba1aba41001984d954969dcc0112a446 /arch/powerpc/platforms/powernv
parentc49f63530bb689744932be88fecb3fd850300876 (diff)
parent396a34340cdf7373c00e3977db27d1a20ea65ebc (diff)
downloadlinux-cdc2652ee581366798a9ac303b5d855ceebea8d9.tar.bz2
Merge branch 'merge' into next
Bring in some important fixes from the 3.16 branch
Diffstat (limited to 'arch/powerpc/platforms/powernv')
-rw-r--r--arch/powerpc/platforms/powernv/opal-elog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-elog.c b/arch/powerpc/platforms/powernv/opal-elog.c
index 10268c41d830..0ad533b617f7 100644
--- a/arch/powerpc/platforms/powernv/opal-elog.c
+++ b/arch/powerpc/platforms/powernv/opal-elog.c
@@ -249,7 +249,7 @@ static void elog_work_fn(struct work_struct *work)
rc = opal_get_elog_size(&id, &size, &type);
if (rc != OPAL_SUCCESS) {
- pr_err("ELOG: Opal log read failed\n");
+ pr_err("ELOG: OPAL log info read failed\n");
return;
}
@@ -257,7 +257,7 @@ static void elog_work_fn(struct work_struct *work)
log_id = be64_to_cpu(id);
elog_type = be64_to_cpu(type);
- BUG_ON(elog_size > OPAL_MAX_ERRLOG_SIZE);
+ WARN_ON(elog_size > OPAL_MAX_ERRLOG_SIZE);
if (elog_size >= OPAL_MAX_ERRLOG_SIZE)
elog_size = OPAL_MAX_ERRLOG_SIZE;