Re: [PATCH v2 2/2] powerpc/powernv: Skip registering log region when CONFIG_PRINTK=n
From: Pranith Kumar <hidden>
Date: 2015-01-23 04:04:07
Also in:
lkml
From: Pranith Kumar <hidden>
Date: 2015-01-23 04:04:07
Also in:
lkml
On Thu, Jan 22, 2015 at 5:35 PM, Stewart Smith [off-list ref] wrote:
Pranith Kumar [off-list ref] writes:quoted
On Thu, Jan 22, 2015 at 12:19 AM, Michael Ellerman [off-list ref] wrote:quoted
On Wed, 2015-01-21 at 21:26 -0500, Pranith Kumar wrote:quoted
When CONFIG_PRINTK=n, log_buf_addr_get() returns NULL and log_buf_len_get() return 0. Check for these return values and skip registering the dump buffer. Signed-off-by: Pranith Kumar <redacted> CC: Michael Ellerman <mpe@ellerman.id.au> --- arch/powerpc/platforms/powernv/opal.c | 6 ++++++ 1 file changed, 6 insertions(+)What changed since v1? I don't see anything?Nothing in this patch but there is a v2 of the first patch in this series, so had to resend this patch with a v2.You also missed my Reviewed-by :)
Sincere apologies for the oversight. Maintainers, could you please add this Reviewed-by tag when picking this up? Reviewed-by: Stewart Smith <redacted> Thanks! -- Pranith