]> git.baikalelectronics.ru Git - kernel.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)
commit0807799a63fb032705a11a6dd4e3672dfae6e00c
treebb640b16b2be9040839f8d585a167458e1cfcd96
parentfe0a5776821bcb4f9dd6b00671d67fed3eeafc26
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