]> 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)
commit23ef2dfcdd56e230269f9dc7756a079108e3fac7
treebb640b16b2be9040839f8d585a167458e1cfcd96
parent21d7aac6f01a487b1f0fb1830bc0412848d02d85
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