Skip to content
Commit d2efeb52 authored by Jann Horn's avatar Jann Horn Committed by Jakub Kicinski
Browse files

net: ethtool: avoid rebuilds on UTS_RELEASE change



Currently, when you switch between branches or something like that and
rebuild, net/ethtool/ioctl.c has to be built again because it depends
on UTS_RELEASE.

By instead referencing a string variable stored in another object file,
this can be avoided.

Signed-off-by: default avatarJann Horn <jannh@google.com>
Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240220194244.2056384-1-jannh@google.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a818bd12
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment