[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3sdjhm0b28z9t0m@ozlabs.org>
Date: Tue, 20 Sep 2016 23:07:19 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: xinhui <xinhui.pan@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Cc: Andrzej Hajda <a.hajda@...sung.com>,
Christophe Jaillet <christophe.jaillet@...adoo.fr>,
Hari Bathini <hbathini@...ux.vnet.ibm.com>,
Paul Mackerras <paulus@...ba.org>, tglx@...utronix.de,
Nathan Fontenot <nfont@...ux.vnet.ibm.com>
Subject: Re: powerpc/nvram: Fix an incorrect partition merge
On Thu, 2015-10-12 at 07:30:02 UTC, xinhui wrote:
> From: Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>
>
> 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 .
>
> Signed-off-by: Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/11b7e154b132232535befe51c5
cheers
Powered by blists - more mailing lists