Re: [PATCH v2] kbuild: simplify access to the kernel's version

2021-02-12 Thread Masahiro Yamada
On Sat, Feb 13, 2021 at 1:29 AM Sasha Levin wrote: > > Instead of storing the version in a single integer and having various > kernel (and userspace) code how it's constructed, export individual > (major, patchlevel, sublevel) components and simplify kernel code that > uses it. > > This should als

Re: [PATCH v2] kbuild: simplify access to the kernel's version

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 11:29:24AM -0500, Sasha Levin wrote: > Instead of storing the version in a single integer and having various > kernel (and userspace) code how it's constructed, export individual > (major, patchlevel, sublevel) components and simplify kernel code that > uses it. > > This sh

[PATCH v2] kbuild: simplify access to the kernel's version

2021-02-12 Thread Sasha Levin
Instead of storing the version in a single integer and having various kernel (and userspace) code how it's constructed, export individual (major, patchlevel, sublevel) components and simplify kernel code that uses it. This should also make it easier on userspace. Signed-off-by: Sasha Levin ---