Message ID | 20200415133648.1306956-1-leon@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=3FgU=57=vger.kernel.org=linux-pm-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4375D112C for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 15 Apr 2020 13:37:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A86120767 for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 15 Apr 2020 13:37:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586957855; bh=c42btVjX+Yo5ch+/fc7QG+39nnq0rypOoe5gU6XPg74=; h=From:To:Cc:Subject:Date:List-ID:From; b=ZhEwRvnFnQrOh12Fv4E1DGH9ae1MkZ3Yau222AsUisVZYd15HUp3Ai8wCD/e5Y5Ek lSaAIyX6S564ZmWqro/96YENMjUcyEN6QIbKK7jNcPJATv5NfTPRWCf/6EN+K6dWTt REEpNpAP9jS+T9EuKjejGpvjM+f/kmTIEPNiWZEc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2636135AbgDONg4 (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Wed, 15 Apr 2020 09:36:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:34662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730053AbgDONgy (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 15 Apr 2020 09:36:54 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7670A206F9; Wed, 15 Apr 2020 13:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586957814; bh=c42btVjX+Yo5ch+/fc7QG+39nnq0rypOoe5gU6XPg74=; h=From:To:Cc:Subject:Date:From; b=nj1f1cz02jLROcEL5+Bj4oaaLcObUQOq+uLYteUf4h0YVvHM+BJ1T6wsYUUXMy+Aj 2CiA8ZpGPmlweMjiFoSNN9CewJ5xWK9quglXdEoIXKcGfjrVp7DMLnNwGL6vmmICRd lsYT+sxU+TbmnzRTfB6UtPTN1AmCTxemqLobXn5I= 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, Pensando Drivers <drivers@pensando.io>, 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 v1 0/4] Remove vermagic header from global include folder Date: Wed, 15 Apr 2020 16:36:44 +0300 Message-Id: <20200415133648.1306956-1-leon@kernel.org> X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
Remove vermagic header from global include folder
|
expand
|
From: Leon Romanovsky <leonro@mellanox.com> Changelog: v1: * 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 +- kernel/module.c | 2 +- {include/linux => kernel}/vermagic.h | 0 net/ethtool/ioctl.c | 3 +-- scripts/mod/modpost.c | 2 +- 15 files changed, 6 insertions(+), 26 deletions(-) rename {include/linux => kernel}/vermagic.h (100%) -- 2.25.2