Re: Kernel version numbers after 4.9.255 and 4.4.255
From: Greg Kroah-Hartman
Date: Sat Feb 06 2021 - 02:23:19 EST
On Fri, Feb 05, 2021 at 12:31:05PM -0500, Tony Battersby wrote:
> On 2/4/21 6:00 AM, Jiri Slaby wrote:
> > Agreed. But currently, sublevel won't "wrap", it will "overflow" to
> > patchlevel. And that might be a problem. So we might need to update the
> > header generation using e.g. "sublevel & 0xff" (wrap around) or
> > "sublevel > 255 : 255 : sublevel" (be monotonic and get stuck at 255).
> >
> > In both LINUX_VERSION_CODE generation and KERNEL_VERSION proper.
>
> My preference would be to be monotonic and get stuck at 255 to avoid
> breaking out-of-tree modules.
I really do not care about out-of-tree modules sorry, as there's nothing
we can do about them. And internal kernel apis are always changing,
even in stable/lts releases, so changing this type of thing for them
should not be a big deal as maintainers of this type of code always have
to do that.
thanks,
greg k-h