Re: mmotm 2020-01-21-13-28 uploaded (struct proc_ops)

From: Alexey Dobriyan
Date: Sun Jan 26 2020 - 10:08:19 EST


On Tue, Jan 21, 2020 at 07:19:22PM -0800, Randy Dunlap wrote:
> On 1/21/20 1:29 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > The mm-of-the-moment snapshot 2020-01-21-13-28 has been uploaded to
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > mmotm-readme.txt says
> >
> > README for mm-of-the-moment:
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> > more than once a week.
>
> and when CONFIG_PROC_FS is not set/enabled, kernel/sched/psi.c gets:
>
> ../kernel/sched/psi.c: In function âpsi_proc_initâ:
> ../kernel/sched/psi.c:1287:56: error: macro "proc_create" requires 4 arguments, but only 3 given
> proc_create("pressure/cpu", 0, NULL &psi_cpu_proc_ops);

Thanks, Randy. I've checked current mmotm, it looks like no more "NUL"s
exist.