lkml.org 
[lkml]   [2016]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [tip:x86/mm] x86/mm/numa: Clean up numa_clear_kernel_node_hotplug ()
On 8 Feb 2016 at 1:42, tip-bot for Ingo Molnar wrote:

> for (i = 0; i < numa_meminfo.nr_blks; i++) {
> - struct numa_memblk *mb = &numa_meminfo.blk[i];
> + struct numa_memblk *mb = numa_meminfo.blk + i;
>
> - memblock_set_node(mb->start, mb->end - mb->start,
> - &memblock.reserved, mb->nid);
> + memblock_set_node(mb->start, mb->end-mb->start, &memblock.reserved, mb->nid);

if you're not keeping to the 80-char length (no complaints from me on that), could
you also use some whitespace around the '-' operator for more readability?

\
 
 \ /
  Last update: 2016-02-08 12:01    [W:0.304 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site