Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3055851ybb; Sun, 12 Apr 2020 22:50:59 -0700 (PDT) X-Google-Smtp-Source: APiQypL/PRE1GHkZcl6SzRweSDgefhJ28dsGRFROH+2IlID6A8j/ksjPpF41Go+8vofTbkm0T8Fc X-Received: by 2002:a0c:8bc2:: with SMTP id a2mr15417761qvc.246.1586757059787; Sun, 12 Apr 2020 22:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586757059; cv=none; d=google.com; s=arc-20160816; b=NtHHvTVtC7PJZ7UhING5UPVp7JZOYV21j/k9F0eyYmIwZfPlrJLk4vtG0oH3X7V3pU K5dcrHTMki61qBb8lJpswwjF5rHXO29IuR9civ9FQL5IlhFydTwgKNHOmVe9N82JVnSO S5r7VxATq8YBSwQtmQZVkHHXhs8Ei8lHbsvBowKf9B1kz/n3sZjZajV5/Tv3K+wHVvx5 DE8wzcSm+pqOwtRUB0/F9OtN4xabImbBvpeiMd64W8CFZ4I+5u8l8cGhbGb2YEwz7HbM PPyau8fGT35s11CKVcEXpzgrWchAK+MtcM/aGhvGkbKLH0vCOhs5K08IVxLZbc/YjFC8 hz+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=pIHbd1NUstNQzQOWbA+/rmzpqy/BrqnDe3a5Uij/LFs=; b=upXwQ0PAaTibLCim4lYG8nhtzAgbzM271Taa/Cf+V3DCJ8q/UYHsgzw6zZESZYIGod JCcMUrST4eOiYd7eWJlHdeCPg88sZ/lQz4klLh5uAsBsgXYshOZsRoqGkYRuQDV/2Ek0 +hCTq1d20RkmJXwDnyKM16HOBR0wRHar+5tYqw0fi9/pUt/C7mwpYhy4t5AVzyrlxWiq /Y5IfJubOSt2IJDfOql5xYSRHJGfpiSXz33TISNuWPW7WnGFUtXG29HbFymHb454nJrp 9be2q3u/BqF0fkRVo3jHlEgfP7py8GYR/7h2ZtHT14rffHIMvG8qIQ3ltPDfS/V6fRkr TORg== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org ([209.132.180.67]) by mx.google.com with ESMTP id n6si933541qtd.100.2020.04.12.22.50.45; Sun, 12 Apr 2020 22:50:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726151AbgDMEDq (ORCPT + 99 others); Mon, 13 Apr 2020 00:03:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.18]:56028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgDMEDp (ORCPT ); Mon, 13 Apr 2020 00:03:45 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [23.128.96.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C40BC008681 for ; Sun, 12 Apr 2020 21:03:46 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id F04C6127AE20A; Sun, 12 Apr 2020 21:03:42 -0700 (PDT) Date: Sun, 12 Apr 2020 21:03:41 -0700 (PDT) Message-Id: <20200412.210341.1711540878857604145.davem@davemloft.net> To: bp@alien8.de Cc: leon@kernel.org, kuba@kernel.org, leonro@mellanox.com, thomas.lendacky@amd.com, keyur@os.amperecomputing.com, pcnet32@frontier.com, vfalico@gmail.com, j.vosburgh@gmail.com, linux-acenic@sunsite.dk, mripard@kernel.org, heiko@sntech.de, mark.einon@gmail.com, chris.snook@gmail.com, linux-rockchip@lists.infradead.org, iyappan@os.amperecomputing.com, irusskikh@marvell.com, dave@thedillows.org, netanel@amazon.com, quan@os.amperecomputing.com, jcliburn@gmail.com, LinoSanfilippo@gmx.de, linux-arm-kernel@lists.infradead.org, andreas@gaisler.com, andy@greyhouse.net, netdev@vger.kernel.org, thor.thayer@linux.intel.com, linux-kernel@vger.kernel.org, ionut@badula.org, akiyano@amazon.com, jes@trained-monkey.org, nios2-dev@lists.rocketboards.org, wens@csie.org Subject: Re: [PATCH] net/3com/3c515: Fix MODULE_ARCH_VERMAGIC redefinition From: David Miller In-Reply-To: <20200411155623.GA22175@zn.tnic> References: <20200224085311.460338-1-leon@kernel.org> <20200224085311.460338-4-leon@kernel.org> <20200411155623.GA22175@zn.tnic> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 12 Apr 2020 21:03:44 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Date: Sat, 11 Apr 2020 17:56:23 +0200 > From: Borislav Petkov > > Change the include order so that MODULE_ARCH_VERMAGIC from the arch > header arch/x86/include/asm/module.h gets used instead of the fallback > from include/linux/vermagic.h and thus fix: > > In file included from ./include/linux/module.h:30, > from drivers/net/ethernet/3com/3c515.c:56: > ./arch/x86/include/asm/module.h:73: warning: "MODULE_ARCH_VERMAGIC" redefined > 73 | # define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY > | > In file included from drivers/net/ethernet/3com/3c515.c:25: > ./include/linux/vermagic.h:28: note: this is the location of the previous definition > 28 | #define MODULE_ARCH_VERMAGIC "" > | > > Fixes: 6bba2e89a88c ("net/3com: Delete driver and module versions from 3com drivers") > Signed-off-by: Borislav Petkov I'm so confused, that commit in the Fixes: tag is _removing_ code but adding new #include directives?!?! Is vermagic.h really needed in these files?