[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210208175007.GA1501867@infradead.org>
Date:   Mon, 8 Feb 2021 17:50:07 +0000
From:   Christoph Hellwig <hch@...radead.org>
To:     Sasha Levin <sashal@...nel.org>
Cc:     masahiroy@...nel.org, michal.lkml@...kovi.net,
        linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
        gregkh@...uxfoundation.org
Subject: Re: [PATCH] kbuild: simplify access to the kernel's version
On Sun, Feb 07, 2021 at 11:13:52AM -0500, Sasha Levin wrote:
> +		(u8)(LINUX_VERSION_MAJOR), (u8)(LINUX_VERSION_PATCHLEVEL),
> +		(u16)(LINUX_VERSION_SUBLEVEL));
No need for the casts and braces.
Otherwise this looks good, but please also kill off KERNEL_VERSION
and LINUX_KERNEL_VERSION entirely while you're at it.
Powered by blists - more mailing lists