]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/msm: Don't use UTS_RELEASE directly
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 28 Apr 2026 14:45:53 +0000 (16:45 +0200)
committerRob Clark <robin.clark@oss.qualcomm.com>
Fri, 15 May 2026 14:24:02 +0000 (07:24 -0700)
commit3f9ed5f5aa9ecffd284218fffd6abc29617f51d5
tree031c4d12bb96cd76ab9dd67a5f3fae0016d36de1
parentb5c7a7f452b885bfbe102bd3a057a5f496802f8b
drm/msm: Don't use UTS_RELEASE directly

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 msm_disp_snapshot_util.o or msm_gpu.o.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Patchwork: https://patchwork.freedesktop.org/patch/721948/
Message-ID: <20260428144553.1103785-2-u.kleine-koenig@baylibre.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c
drivers/gpu/drm/msm/msm_gpu.c