Re: [PATCH v4 1/3] memory: implement memory_block_advise/probe_max_size
From: Gregory Price
Date: Thu Oct 31 2024 - 12:23:30 EST
On Thu, Oct 31, 2024 at 04:31:03PM +0200, Mike Rapoport wrote:
> On Tue, Oct 29, 2024 at 04:20:39PM -0400, Gregory Price wrote:
> > + * Return: 0 on success
> > + * -EINVAL if size is 0 or not pow2 aligned
> > + * -EBUSY if value has already been probed
> > + */
> > +static size_t memory_block_advised_sz;
> > +static bool memory_block_advised_size_queried;
>
> kernel-doc will be unhappy about variable declarations between the doc
> block and the function it describes
>
Yup, that was the warning I was waiting to clear KLP.
Learning new things n.n;; - new version shortly
~Gregory