lkml.org 
[lkml]   [2020]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] sysctl: pass kernel pointers to ->proc_handler
On Fri, Apr 24, 2020 at 12:06:50PM -0700, Andrey Ignatov wrote:
> > -
> > -#ifdef CONFIG_UCLAMP_TASK
>
> Decided to skim through the patch one last time to double-check the fix
> from previous iteration and found that this ifdef got lost below.
>
> > -extern int sysctl_sched_uclamp_handler(struct ctl_table *table, int write,
> > - void __user *buffer, size_t *lenp,
> > - loff_t *ppos);
> > -#endif

There is no need for ifdefs around prototypes that aren't used.

\
 
 \ /
  Last update: 2020-04-27 07:36    [W:0.157 / U:2.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site