[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181226191118.GB20878@bombadil.infradead.org>
Date: Wed, 26 Dec 2018 11:11:18 -0800
From: Matthew Wilcox <willy@...radead.org>
To: Aditya Pakki <pakki001@....edu>
Cc: kjlu@....edu, Andrew Morton <akpm@...ux-foundation.org>,
Vlastimil Babka <vbabka@...e.cz>,
Michal Hocko <mhocko@...e.com>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Yang Shi <yang.shi@...ux.alibaba.com>,
Johannes Weiner <hannes@...xchg.org>,
Joe Perches <joe@...ches.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: compaction.c: Propagate return value upstream
On Wed, Dec 26, 2018 at 01:07:49PM -0600, Aditya Pakki wrote:
> {
> + return
> proc_dointvec_minmax(table, write, buffer, length, ppos);
> -
> - return 0;
Don't do this. If you're going to return something, it should be on the same
line as the return statement.
ie:
+ return proc_dointvec_minmax(table, write, buffer, length, ppos);
Powered by blists - more mailing lists