[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190129202842.GI24651@unicorn.suse.cz>
Date: Tue, 29 Jan 2019 21:28:42 +0100
From: Michal Kubecek <mkubecek@...e.cz>
To: Maciej Żenczykowski <maze@...gle.com>
Cc: "John W. Linville" <linville@...driver.com>, netdev@...r.kernel.org
Subject: ethtool - manual changes in ethtool-copy.h
Hello,
I'm sorry I didn't notice earlier but ethtool commit 4df55c81996d
("ethtool: change to new sane powerpc64 kernel headers") adds changes to
ethtool-copy.h which are not in sync with kernel file it is generated
from.
This file is supposed to be a copy of the sanitized kernel UAPI header,
i.e. what you get as include/linux/ethtool.h by "make headers_install"
in kernel tree. (The copy in ethtool git is currently a bit behind but
the missing recent changes only modify comments so that it's not really
a problem.)
Modifying this file manually would mean that anyone who would update it
in the future (to sync with kernel changes) could not simply copy the
sanitized kernel header but would have to make sure to add your fragment
to it.
As you only need to define the __SANE_USERSPACE_TYPES__ macro (on
ppc64), it might be possible to achieve the same goal in Makefile.
Michal Kubecek
Powered by blists - more mailing lists