From: Leon Romanovsky <leon@kernel.org>
To: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>
Cc: Leon Romanovsky <leonro@mellanox.com>,
Andy Gospodarek <andy@greyhouse.net>,
Borislav Petkov <bp@suse.de>, Ion Badulescu <ionut@badula.org>,
Jay Vosburgh <j.vosburgh@gmail.com>, Jessica Yu <jeyu@kernel.org>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, Masahiro Yamada <masahiroy@kernel.org>,
Michal Marek <michal.lkml@markovi.net>,
netdev@vger.kernel.org, oss-drivers@netronome.com,
Salil Mehta <salil.mehta@huawei.com>,
Sebastian Reichel <sre@kernel.org>,
Shannon Nelson <snelson@pensando.io>,
Veaceslav Falico <vfalico@gmail.com>,
Yisen Zhuang <yisen.zhuang@huawei.com>
Subject: [PATCH net-next v2 0/4] Remove vermagic header from global include folder
Date: Sun, 19 Apr 2020 17:18:46 +0300 [thread overview]
Message-ID: <20200419141850.126507-1-leon@kernel.org> (raw)
From: Leon Romanovsky <leonro@mellanox.com>
Changelog:
v2:
* Changed the implementation of patch #4 to be like Masahiro wants.
I personally don't like this implementation and changing it just to move forward
this this patchset.
v1:
https://lore.kernel.org/lkml/20200415133648.1306956-1-leon@kernel.org
* Added tags
* Updated patch #4 with test results
* Changed scripts/mod/modpost.c to create inclusion of vermagic.h
from kernel folder and not from general include/linux. This is
needed to generate *.mod.c files, while building modules.
v0:
https://lore.kernel.org/lkml/20200414155732.1236944-1-leon@kernel.org
----------------------------------------------------------------------------
Hi,
This is followup to the failure reported by Borislav [1] and suggested
fix later on [2].
The series removes all includes of linux/vermagic.h, updates hns and
nfp to use same kernel versioning scheme (exactly like we did for
other drivers in previous cycle) and removes vermagic.h from global
include folder.
[1] https://lore.kernel.org/lkml/20200411155623.GA22175@zn.tnic
[2] https://lore.kernel.org/lkml/20200413080452.GA3772@zn.tnic
------------------------------------------------------------
1. Honestly, I have no idea if it can go to net-rc, clearly not all my
patches are fixes, so I'm sending them to the net-next.
2. Still didn't get response from kbuild, but it passed my own
compilation tests.
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/log/?h=vermagic
Thanks
Leon Romanovsky (4):
drivers: Remove inclusion of vermagic header
net/hns: Remove custom driver version in favour of global one
net/nfp: Update driver to use global kernel version
kernel/module: Hide vermagic header file from general use
drivers/net/bonding/bonding_priv.h | 2 +-
drivers/net/ethernet/3com/3c509.c | 1 -
drivers/net/ethernet/3com/3c515.c | 1 -
drivers/net/ethernet/adaptec/starfire.c | 1 -
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 3 ---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 4 ----
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 4 ----
drivers/net/ethernet/netronome/nfp/nfp_main.c | 3 ---
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 2 --
drivers/net/ethernet/pensando/ionic/ionic_main.c | 2 +-
drivers/power/supply/test_power.c | 2 +-
include/linux/vermagic.h | 5 +++++
kernel/module.c | 3 +++
net/ethtool/ioctl.c | 3 +--
scripts/mod/modpost.c | 1 +
15 files changed, 13 insertions(+), 24 deletions(-)
--
2.25.2
next reply other threads:[~2020-04-19 14:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 14:18 Leon Romanovsky [this message]
2020-04-19 14:18 ` [PATCH net-next v2 1/4] drivers: Remove inclusion of vermagic header Leon Romanovsky
2020-04-19 14:18 ` [PATCH net-next v2 2/4] net/hns: Remove custom driver version in favour of global one Leon Romanovsky
2020-04-19 14:18 ` [PATCH net-next v2 3/4] net/nfp: Update driver to use global kernel version Leon Romanovsky
2020-04-21 14:23 ` [oss-drivers] " Simon Horman
2020-04-19 15:55 ` [PATCH net-next v2 4/4] kernel/module: Hide vermagic header file from general use Leon Romanovsky
2020-04-19 22:59 ` Masahiro Yamada
2020-04-20 8:05 ` Leon Romanovsky
2020-04-21 12:14 ` [PATCH net-next v2 0/4] Remove vermagic header from global include folder Leon Romanovsky
2020-04-21 20:28 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200419141850.126507-1-leon@kernel.org \
--to=leon@kernel.org \
--cc=andy@greyhouse.net \
--cc=bp@suse.de \
--cc=davem@davemloft.net \
--cc=ionut@badula.org \
--cc=j.vosburgh@gmail.com \
--cc=jeyu@kernel.org \
--cc=kuba@kernel.org \
--cc=leonro@mellanox.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.lkml@markovi.net \
--cc=netdev@vger.kernel.org \
--cc=oss-drivers@netronome.com \
--cc=salil.mehta@huawei.com \
--cc=snelson@pensando.io \
--cc=sre@kernel.org \
--cc=vfalico@gmail.com \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).