[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180928161305.GB19827@infradead.org>
Date: Fri, 28 Sep 2018 09:13:05 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Guo Ren <ren_guo@...ky.com>
Cc: akpm@...ux-foundation.org, arnd@...db.de,
daniel.lezcano@...aro.org, davem@...emloft.net,
gregkh@...uxfoundation.org, jason@...edaemon.net,
marc.zyngier@....com, mark.rutland@....com,
mchehab+samsung@...nel.org, peterz@...radead.org, robh@...nel.org,
robh+dt@...nel.org, tglx@...utronix.de,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
devicetree@...r.kernel.org, green.hu@...il.com
Subject: Re: [PATCH V6 03/33] csky: Kernel booting
> +phys_addr_t __init_memblock memblock_end_of_REG0(void)
> +{
> + return (memblock.memory.regions[0].base + memblock.memory.regions[0].size);
> +}
No need for the braces.
> + if (memblock.memory.cnt > 1) {
> + zone_size[ZONE_NORMAL] = PFN_DOWN(memblock_start_of_REG1()) - min_low_pfn;
> + zhole_size[ZONE_NORMAL] = PFN_DOWN(memblock_start_of_REG1()) - max_low_pfn;
Please brake lines after 80 characters.
> + pr_info("C-SKY: https://github.com/c-sky/csky-linux\n");
I don't think this belongs into the kernel log.
Powered by blists - more mailing lists