summaryrefslogtreecommitdiff
path: root/include/linux/export.h
diff options
context:
space:
mode:
authorPan Xinhui <xinhui.pan@linux.vnet.ibm.com>2015-12-10 15:30:02 +0800
committerBen Hutchings <ben@decadent.org.uk>2017-02-23 03:54:01 +0000
commit70e794f9456c4e87e0182bcd65905f5113c2b72a (patch)
tree72f328a777dfa069ccb58cdc828eb03394537ed6 /include/linux/export.h
parent89376f3f174b005550e4a329d4a50c9e662c9ed9 (diff)
powerpc/nvram: Fix an incorrect partition merge
commit 11b7e154b132232535befe51c55db048069c8461 upstream. When we merge two contiguous partitions whose signatures are marked NVRAM_SIG_FREE, We need update prev's length and checksum, then write it to nvram, not cur's. So lets fix this mistake now. Also use memset instead of strncpy to set the partition's name. It's more readable if we want to fill up with duplicate chars . Fixes: fa2b4e54d41f ("powerpc/nvram: Improve partition removal") Signed-off-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/export.h')
0 files changed, 0 insertions, 0 deletions