Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6125196imu; Mon, 21 Jan 2019 03:42:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Npi/YlUGuQ+id4c19kEBCRcwIwDYLqX5T63tJiMChnmGips8WCgXSd+ePDhJm1Ob7Pk+9 X-Received: by 2002:a17:902:6a4:: with SMTP id 33mr29202617plh.99.1548070937679; Mon, 21 Jan 2019 03:42:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548070937; cv=none; d=google.com; s=arc-20160816; b=z+P3JhSigzkdybQ597TMRIh16cXZbbEaS4zpMNoijVqe1bXsf3lkd7akeaEuFHk5r4 zcVkPSiMrI6Vi0Ax2vkZIYbfk3+zfjhgGSYK3iI7LIxf9fEucVHkKsjv6yD73N8P8Y3S rJGe7/fH/kdKtMCNMEVOAVBp3+XiZ7QwF+1s/TL5duTmEOFTPt6v3zKlNr2Acph1/0Lb fraQS56OXS5pCvfgzvWQK8hFpUIplDL6QXvcs2VMlNEJKPXKUoWY3o2rgOGnfJOAzFHe RSZduIzZptvdOb8NszxYWsoWSRzcsj7lLUzR27dQFwNrp+nCO3un9TylK3SMkDX0ELzO hz5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=JfuSLmVSNWwqf6V8Z/eT2SQCRLTZcPBlUJjuClSObG0=; b=flF/Zk3LEuZeYckNiyEqNR7abl1zu545x/MI8w+AN2P6gfkKwXoFcJmcV1W+kBRVob qYT2+iiP/zHDLgTiy3A6kLZs7fPH6KLgkozcFFJMg9UCmfUzxsCleiT8iyY2fWf8/f29 491rezhTREh5fM8ZakIJiAB6LHPyBOWkpwmeQNWSSsKebER39RHiSlEH+20fAX93cNcj w2OqDLIBvbMg3mhH039SXZa73ewzsPT7UUSYC9wFH2Ik4btyfduAZzV9o+JdrbEViG7p edwB7nx9CciB4bzXaCxq/fIWvf1i3cS8Z7/0wsdMQ79ucX7L1BwvoFkwo2AlU5AGsrVW WLEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=eXPOkjcu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si487015pgo.595.2019.01.21.03.42.01; Mon, 21 Jan 2019 03:42:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=eXPOkjcu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728264AbfAULkL (ORCPT + 99 others); Mon, 21 Jan 2019 06:40:11 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:40842 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbfAULkK (ORCPT ); Mon, 21 Jan 2019 06:40:10 -0500 Received: by mail-qk1-f195.google.com with SMTP id y16so12042118qki.7; Mon, 21 Jan 2019 03:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JfuSLmVSNWwqf6V8Z/eT2SQCRLTZcPBlUJjuClSObG0=; b=eXPOkjcuzJUUMeRuOR3FB9Fe2XIVQgLvpRQj9Ui3oc1R/8sBtAJkSu3+adyLHLJgad Swy2w5RGwzls6HMLHrwrdKGReLDdz50I+Tq7tMMTYofJC7neljsPQtqRyUtpG7REJCFd cv8Zfe/6AaIMGS9hqqnJGEWzCQB03do8PD8hpih1HKLEmplsm5WIMQcynvMac1Srh169 NJFJbbHYuK5LBR/0WIxN0zFzcQlwZZzOUrpBbUYDjttyhCgo4kSerLeg4uicAmwkfQFu QRMqsvRZ1kv2LLhIHh/rWMcPD651CUJsHSam8oel+teFE2yXDEnCsXqUSyr4cA+ZTZLx Or1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JfuSLmVSNWwqf6V8Z/eT2SQCRLTZcPBlUJjuClSObG0=; b=QasLNQ2/Jp1oaXOuKcZjn9Fqd9jiW/F8HTGVFAH3JH/LqJ8dOecdGuZkBEPIlxh+98 uVQUjZ5DG6u2lwQJITW/jROFCOkM+39uBUR6QUCxpwtfHQiaH7vwGY1gJb01S2Vv579b uCO6MM51r+ESrTzF0ghDCsuSQ77Jj/2V3cjtO7IrEMHAZt/VeHFrq3M+YQVn+jIsDO6w 2V+9QSMxpSkox99wqBAf4ZMnQAov8WNYdsBlPWWiMn+mVI9RwipGdpVwrTjrc5mD1Jxv ph1NLqqKIMxAGjStthmc5RUpCOg+SxirIXoXqyb4KLuuqK00U1VjvMS3tr8vjK4cMp9p dGsA== X-Gm-Message-State: AJcUukeES46eqdYbxhcb6dsREJXuu7VYFU1b/uXtrjBGJGiVhwP/m2gN HaOKzFHM9U+lKMlaEP0CJI9S2Ls0Npiat4qwNMD0xA== X-Received: by 2002:ae9:eb94:: with SMTP id b142mr24016587qkg.227.1548070809449; Mon, 21 Jan 2019 03:40:09 -0800 (PST) MIME-Version: 1.0 References: <1546173604-26066-1-git-send-email-minipli@googlemail.com> <20190102202938.GA26600@linux-8ccs> In-Reply-To: <20190102202938.GA26600@linux-8ccs> From: Mathias Krause Date: Mon, 21 Jan 2019 12:39:57 +0100 Message-ID: Subject: Re: [PATCH] vmlinux.lds.h: drop unused __vermagic To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Rusty Russell , Jessica Yu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Jan 2019 at 21:29, Jessica Yu wrote: > > +++ Mathias Krause [30/12/18 13:40 +0100]: > >The reference to '__vermagic' is a relict from v2.5 times. And even > >there it had a very short life time, from v2.5.59 (commit 1d411b80ee18 > >("Module Sanity Check") in the historic tree) to v2.5.69 (commit > >67ac5b866bda ("[PATCH] complete modinfo section")). > > > >Neither current kernels nor modules contain a '__vermagic' section any > >more, so get rid of it. > > > >Signed-off-by: Mathias Krause > >Cc: Rusty Russell > >Cc: Jessica Yu > > Thanks for the cleanup. > > Reviewed-by: Jessica Yu > Arnd, will you carry this patch through your asm-generic tree or did the MAINTAINERS file mislead me here? Thanks, Mathias > >--- > > include/asm-generic/vmlinux.lds.h | 1 - > > 1 file changed, 1 deletion(-) > > > >diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h > >index 3d7a6a9c2370..530ce1e7a1ec 100644 > >--- a/include/asm-generic/vmlinux.lds.h > >+++ b/include/asm-generic/vmlinux.lds.h > >@@ -332,7 +332,6 @@ > > __start_rodata = .; \ > > *(.rodata) *(.rodata.*) \ > > RO_AFTER_INIT_DATA /* Read only after init */ \ > >- KEEP(*(__vermagic)) /* Kernel version magic */ \ > > . = ALIGN(8); \ > > __start___tracepoints_ptrs = .; \ > > KEEP(*(__tracepoints_ptrs)) /* Tracepoints: pointer array */ \ > >-- > >2.19.2 > >