lkml.org 
[lkml]   [2018]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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);

\
 
 \ /
  Last update: 2018-12-26 20:12    [W:0.038 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site