Re: [PATCH] drm/vmwgfx: Don't use UTS_RELEASE directly
From: Uwe Kleine-König (The Capable Hub)
Date: Wed Jun 10 2026 - 13:01:54 EST
Hello,
On Mon, May 04, 2026 at 09:34:20AM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> UTS_RELEASE evaluates to a static string and changes quite easily (e.g.
> uncommitted changes in the source tree or new commits). So when checking
> if a patch introduces changes to the resulting binary each usage of
> UTS_RELEASE is source of annoyance.
>
> Instead of using UTS_RELEASE directly use init_utsname()->release which
> evaluates to the same string but with that a change of UTS_RELEASE
> doesn't affect vmwgfx_drv.o.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
> ---
> Hello,
>
> an alternative way to address this is to drop the kernel version string
> completely. But I'm not sure how redundant this really is so I chose the
> init_utsname() approach.
any feedback on this patch? Ideally something like "I applied it for
7.2-rc1, thanks!" :-D
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature