Re: [PATCH V3] UIO: make maximum memory and port regions configurable

From: Greg KH
Date: Thu Mar 19 2020 - 03:48:31 EST


On Thu, Mar 19, 2020 at 03:39:23PM +0800, Qiang Su wrote:
> Now each uio device can only support 5 memory regions and
> 5 port regions. It may be far from enough for some big system.
> On the other hand, the hard-coded style is not flexible.
> So make these values configurable by menuconfig, thus users
> can easily expand them according to their actual situation.
>
> Consider the marco is used as array index, so a range for
> the config is set in menuconfig. The range is set as 1 to 512.
> The default value is still set as 5 to keep consistent with
> current code.
>
> Signed-off-by: Qiang Su <suqiang4@xxxxxxxxxx>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Reviewed-by: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>

What? No, I did not review this, do not add a tag like that for a patch
that I have not explicitly given it for.

And how is the kbuild bot reporting problems that this patch fixes?
Where is that report?

Also, I want this to be dynamic, not static, please do that instead, no
one rebuilds their kernels for something like this.

thanks,

greg k-h