powerpc/nvram: Ensure that the partition header/block size is right
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Jul 2010 07:21:17 +0000 (17:21 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Nov 2010 04:32:08 +0000 (15:32 +1100)
commit578914cffc283b907777796420148d582072cbae
tree60d2d204b217524db1c3589d97306ce9323407a1
parent36673307aee535f951f4eede81049c6962bc4ba9
powerpc/nvram: Ensure that the partition header/block size is right

Use BUILD_BUG_ON to ensure the structure representing a partition
header have the right size.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/nvram_64.c