Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3441190ybb; Tue, 31 Mar 2020 05:27:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vstGJ1mT1mJi4C2RExTpk14eNZdfgJAANQpXe8a1+BelLyHqPHVHS3sNSjqVgE8Az29un7Y X-Received: by 2002:aca:3284:: with SMTP id y126mr1721603oiy.175.1585657665631; Tue, 31 Mar 2020 05:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585657665; cv=none; d=google.com; s=arc-20160816; b=TKSMPuFfwBR0vYUaGPfDWT3rujcdgpCA6wdzMbhCIISeXOjluIT9GkULfUG27btxpR CkjAUa4R1qh6MwxwIl6DrCARAySaouv0cckdiC1Q4RG1GZkLWNSQo0UZd6HZ+Pa9BO4P LJQ4r6iciUi+v1ajUn++idqb+GmQ86wVIiGaBSZw7En0VpolScS6mu65JlfGFLr69zOb D9WzOslxoX3QbU5nQ6DFUj3cS8/5iIVxGaB6feTNBRVS9tHmTjEwThTXWn03jCAcO4SR f8AyOHBoQ7Wu1ZaOR3ZVKK4sXW8VnWzokUWQStQk2g5Mfms5xZfEWiq2LONuu8rkaFZO slRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eRxHZ7QhtRuKTVG+zgsovQW8Zr+V/kBd+Oa/N/mQGT4=; b=QdPqr03mToMPiqw18FPGLjRrzLH7USdCU21ClkyBhDMAH1i4/QLmdnWAo9UwAYNHKB Zq4BArbEVsDsaKTtV5wENKCY7b/PGYhW0ovLXD6MQojotTs9L+t2t5A+ML2nkmFlIEl2 XnQVXEFdOtNpGrPry1nEXpfau9FeBPMyiBhKuRXABrHUYHl4k5+lyFnQS1KoCNXDUfhP vyjzhWdBhWCiP8wz7eYX7f7pbcXoE7cxM2y4NFj378j86iBfxq3gfuRgA9SVWN/+DQZw iqZJ1fK2oKBGu+8kXf/T7qXWXEe4Yt7gbifh86c5bhRYMQSkWQA2wSHqwl61V4rs7l8P QhMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="a/IKLglL"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p203si7153847oic.214.2020.03.31.05.27.33; Tue, 31 Mar 2020 05:27:45 -0700 (PDT) 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=@kernel.org header.s=default header.b="a/IKLglL"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730833AbgCaM0Y (ORCPT + 99 others); Tue, 31 Mar 2020 08:26:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:56280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730343AbgCaM0Y (ORCPT ); Tue, 31 Mar 2020 08:26:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 0AFE720848; Tue, 31 Mar 2020 12:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585657583; bh=LRNPIfNer2/ZXg6agR1rxzsrapcVYlRW6KHf/6lHOTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a/IKLglL+3d8+yzz2DY+FIiMuBy0M7DNRw9np3cly/Fd4u7r71QWnqObSAZHuIbwx Km4rEji1FNceHPfvLZI7PbdWrIaQmvu3HI2xNRz7oP4FcMkUcYKemHfNDJXWud1+tx FIXW7ekIE3s85gqmVB9OGDrOZQkTp4oCHICcX0Pk= Date: Tue, 31 Mar 2020 14:09:17 +0200 From: Greg Kroah-Hartman To: Dirk =?iso-8859-1?Q?M=FCller?= Cc: Nathan Chancellor , linux-kernel@vger.kernel.org, stable@vger.kernel.org, David Gibson , Rob Herring Subject: Re: [PATCH 5.5 102/170] scripts/dtc: Remove redundant YYLOC global declaration Message-ID: <20200331120917.GA1617997@kroah.com> References: <20200331085423.990189598@linuxfoundation.org> <20200331085435.053942582@linuxfoundation.org> <20200331095323.GA32667@ubuntu-m2-xlarge-x86> <20200331100238.GA1204199@kroah.com> <5B6493BE-F9FE-41A4-A88A-5E4DF5BCE098@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5B6493BE-F9FE-41A4-A88A-5E4DF5BCE098@suse.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2020 at 01:45:09PM +0200, Dirk M?ller wrote: > Hi Greg, > > >> $ sed -i 's;scripts/dtc/dtc-lexer.l;scripts/dtc/dtc-lexer.lex.c_shipped;g' \ > >> queue-{4.4,4.9,4.14}/scripts-dtc-remove-redundant-yyloc-global-declaration.patch > >> If you would prefer a set of patches, let me know. > > Should I just drop the patch from 4.4, 4.9, and 4.14 instead? > > as the original author of the patch, I am not sure why it was backported to the LTS releases (unless enablement for gcc 10.x or > other new toolchains is a requirement, which I'm not aware of). Keeping the older kernels building with newer compilers is something that we do. It's needed as our build systems "age-out" the older compilers a lot :) > However I think the sed above on the *patch* means that the patch will *only* modify the generated sources, not the input sources. I think > it would be better to patch both *input* and *generated* sources, or backport the generate-at-runtime patch as well (which might be > even further outside the stable policy). What do you mean by "input sources" here? > Not knowing why it was backported, I would suggest to just dequeue the patch from the older trees. If I drop it for now, I'll have to add it back when gcc10 is pushed out to my build systems and laptops :( thanks, greg k-h