commit | 6024ede9ba84aa1b891c2d6bc98eda07801235e5 | [log] [tgz] |
---|---|---|
author | Jim Keniston <jkenisto@us.ibm.com> | Thu Nov 11 18:54:27 2010 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Nov 30 15:43:51 2010 +1100 |
tree | fa7a2c4c991ae4b5d3b083944394a4e0ecf02591 | |
parent | 690d1a9bd14bd861328ca66473a223f60cf1ad31 [diff] |
powerpc/nvram: Handle partition names >= 12 chars The name field in the nvram_header can be < 12 chars, null-terminated, or 12 chars without the null. Handle this safely. Signed-off-by: Jim Keniston <jkenisto@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>