]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/pseries: Add backward compatibilty to read old kernel oops-log
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Thu, 8 Aug 2013 17:04:00 +0000 (22:34 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Aug 2013 08:06:44 +0000 (18:06 +1000)
commit156c9ebdaca20d9ce428dc189f2b24d2a0ec8eaf
treebb640b16b2be9040839f8d585a167458e1cfcd96
parent7e76f34fa103677a27d96a7cfef8ce61389a32de
powerpc/pseries: Add backward compatibilty to read old kernel oops-log

Older kernels has just length information in their header. Handle it
while reading old kernel oops log from pstore.

Applies on top of powerpc/pseries: Fix buffer overflow when reading from pstore

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/nvram.c